save fast resume once torrent finshes so as to not recheck seed if client crashes

This commit is contained in:
Marcos Pinto 2007-06-26 08:53:48 +00:00
parent 63cc644195
commit f6e8f6d13e
1 changed files with 2 additions and 0 deletions

View File

@ -502,6 +502,8 @@ class Manager:
# If we are autoseeding, then we need to apply the queue
if self.get_pref('auto_seed_ratio') == -1:
self.apply_queue(efficient = False) # To work on current data
#save fast resume once torrent finshes so as to not recheck seed if client crashes
self.save_fastresume_data(event['unique_ID'])
elif event['event_type'] is self.constants['EVENT_TRACKER']:
unique_ID = event['unique_ID']
status = event['tracker_status']