From 85a1e478fe34df3255d201bc11719a2ec19d1a3a Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 8 Jun 2017 10:05:11 +0100 Subject: [PATCH] [#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. --- deluge/core/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index d5c571615..f495249b5 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -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.