[#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:
Calum Lind 2017-06-08 10:05:11 +01:00
parent 29191e6a58
commit 85a1e478fe

View File

@ -113,7 +113,9 @@ class Core(component.Component):
# Start the libtorrent session.
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)
# Load the settings, if available.