jash-kothari-forks / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
0 stars 0 forks source link

"Last active" #457

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

http://forum.deluge-torrent.org/viewtopic.php?f=8&t=41999

"The reason here is very simple - I would like to remove torrents if they are 
not active, i.e. there are no lechers. Now even no one is leeching, the torrent 
is considered active and I should remember some numbers (like share ratio) to 
judge whether to remove it or not. Yes, I know it can be removed automatically 
based on ratio or age, but often this is not the case."

Thank you

Original issue reported on code.google.com by v.korkod...@gmail.com on 5 Apr 2013 at 3:38

GoogleCodeExporter commented 9 years ago
There are two counters in torrent_status.

torrent_status::time_since_upload and torrent_status::time_since_download. 
These should be sufficient to implement this request.

Original comment by arvid.no...@gmail.com on 5 Apr 2013 at 4:14