Opened 15 years ago

Closed 13 years ago

Last modified 10 years ago

#170 closed Defect (fixed)

[PATCH] scrape at a regular interval to get seeders and leechers

Reported by: cluthi81 Owned by: joshe
Priority: Normal Milestone: Sometime
Component: libtransmission Version: Other
Severity: Normal Keywords: scrape
Cc:

Description

Here is a patch that will automatically scrape the tracker every 15 minutes or every min_request_interval (if given by the tracker). The policy is very simple and could be tweaked in the new shouldScrape function. The results of the scrape are put into the tracker's seeders and leechers fields.

Attachments (1)

tracker+scrape.patch (3.3 KB) - added by cluthi81 15 years ago.
scrape patch

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by cluthi81

scrape patch

comment:1 Changed 15 years ago by livings124

  • Resolution set to invalid
  • Status changed from new to closed

The way your patch works has the thread waiting on the scrape, holding up everything else. I am currently working on a branch to get scrape working, so this is unnecessary.

comment:2 Changed 15 years ago by cluthi81

Yep indeed, I did not realize it was holding the thread. In my few tests, the scrape never hung up.

comment:3 Changed 13 years ago by charles

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:4 Changed 13 years ago by charles

  • Owner changed from josh@… to titer
  • Status changed from reopened to new

comment:5 Changed 13 years ago by charles

  • Owner changed from titer to joshe

comment:6 Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

comment:7 Changed 10 years ago by jordan

  • Component changed from Transmission to libtransmission
Note: See TracTickets for help on using tickets.