Menu

Help me to add a crawl rate speed

Help
Anonymous
2013-08-29
2013-08-30
  • Anonymous

    Anonymous - 2013-08-29

    Hi !

    Thanks for your great project , currently we got a complaint from one of the website that our crawl was too aggressive, is there any way to make crawl send request slow or delay , i know the currently version doesn't support yet , if you can help me to modify to make it works , it will be very helpful for me.

    Thank you very much

     
  • Anonymous

    Anonymous - 2013-08-30

    Hi!

    A very simple solution is just to add a sleep(xyz) or usleep(xyz) at the end of your handleDocumentInfo-method().

    Then every process will wait for the given time before it continues with the next URL.

    Would this work for you?

     

    Last edit: Anonymous 2013-08-30

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.