mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
save fast resume once torrent finshes so as to not recheck seed if client crashes
This commit is contained in:
parent
63cc644195
commit
f6e8f6d13e
1 changed files with 2 additions and 0 deletions
|
@ -502,6 +502,8 @@ class Manager:
|
||||||
# If we are autoseeding, then we need to apply the queue
|
# If we are autoseeding, then we need to apply the queue
|
||||||
if self.get_pref('auto_seed_ratio') == -1:
|
if self.get_pref('auto_seed_ratio') == -1:
|
||||||
self.apply_queue(efficient = False) # To work on current data
|
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']:
|
elif event['event_type'] is self.constants['EVENT_TRACKER']:
|
||||||
unique_ID = event['unique_ID']
|
unique_ID = event['unique_ID']
|
||||||
status = event['tracker_status']
|
status = event['tracker_status']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue