Jump to content
UBot Underground

HTTP Timeout Question


Recommended Posts

I have a bot that scans a website for certain links at a predefined time. During that time the site comes under heavy traffic. The way the bot works is that if a certain link is not there it does another get request. Currently there is no timeout. Would it be advantageous to set the timeout to 1-2 seconds instead of leaving the timeout field blank?

 

Thanks

Link to post
Share on other sites

the wait for element loaded and wait for page loaded options allow a time out to be for example, 30 seconds waiting, but if the element shows up before then the program will continue without waiting any longer. Does that sound like what you need?

Link to post
Share on other sites

I have a bot that scans a website for certain links at a predefined time. During that time the site comes under heavy traffic. The way the bot works is that if a certain link is not there it does another get request. Currently there is no timeout. Would it be advantageous to set the timeout to 1-2 seconds instead of leaving the timeout field blank?

 

Thanks

 

I believe the timeout by default is 30 seconds.  (it is in ubot, but not sure if it is for aymens http plug in)

 

So if you don't set a timeout, it will wait for 30 seconds before moving to the next item.  Where as, if you had a timeout of say 5 seconds it will only wait 5 seconds before moving on.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...