mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
[#3044|Core] Stop libtorrent checking file timestamps in resume data
* The verfication of timestamps of files on disc against those in resume data can be buggy and sends torrents to error state for no apparent reason. It has also been removed in latest version of libtorrent so disabling this check.
This commit is contained in:
parent
29191e6a58
commit
85a1e478fe
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ class Core(component.Component):
|
||||||
|
|
||||||
# Start the libtorrent session.
|
# Start the libtorrent session.
|
||||||
log.debug('Starting session (fingerprint: %s, user_agent: %s)', deluge_fingerprint, user_agent)
|
log.debug('Starting session (fingerprint: %s, user_agent: %s)', deluge_fingerprint, user_agent)
|
||||||
settings_pack = {'peer_fingerprint': deluge_fingerprint, 'user_agent': user_agent}
|
settings_pack = {'peer_fingerprint': deluge_fingerprint,
|
||||||
|
'user_agent': user_agent,
|
||||||
|
'ignore_resume_timestamps': True}
|
||||||
self.session = lt.session(settings_pack, flags=0)
|
self.session = lt.session(settings_pack, flags=0)
|
||||||
|
|
||||||
# Load the settings, if available.
|
# Load the settings, if available.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue