Added 'd.tracker.send_scrape = <seconds_to_request>' command for sending scrape requests to all trackers that support it.

Newly inserted downloads send scrape requests after 30 seconds.
This commit is contained in:
Jari Sundell
2011-11-08 00:45:11 +09:00
parent f4c3758dcd
commit 00a42357d0
3 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -247,7 +247,8 @@ main(int argc, char** argv) {
"method.insert = event.download.hash_removed,multi|rlookup|static\n"
"method.insert = event.download.hash_queued,multi|rlookup|static\n"
"method.set_key = event.download.inserted, 1_connect_logs, d.initialize_logs=\n"
"method.set_key = event.download.inserted, 1_connect_logs, ((d.initialize_logs))\n"
"method.set_key = event.download.inserted, 1_send_scrape, ((d.tracker.send_scrape,30))\n"
"method.set_key = event.download.inserted_new, 1_prepare, \"branch=d.state=,view.set_visible=started,view.set_visible=stopped ;d.save_full_session=\"\n"
"method.set_key = event.download.inserted_session, 1_prepare, \"branch=d.state=,view.set_visible=started,view.set_visible=stopped\"\n"