Changeset 85a1e4


Ignore:
Timestamp:
06/08/2017 10:12:07 AM (8 years ago)
Author:
Calum Lind <calumlind+deluge@gmail.com>
Branches:
2.0.x, develop, master
Children:
8326206
Parents:
29191e
git-author:
Calum Lind <calumlind+deluge@gmail.com> (06/08/2017 09:05:11 AM)
git-committer:
Calum Lind <calumlind+deluge@gmail.com> (06/08/2017 10:12:07 AM)
Message:

#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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/core/core.py

    r29191e r85a1e4  
    114114        # Start the libtorrent session.
    115115        log.debug('Starting session (fingerprint: %s, user_agent: %s)', deluge_fingerprint, user_agent)
    116         settings_pack = {'peer_fingerprint': deluge_fingerprint, 'user_agent': user_agent}
     116        settings_pack = {'peer_fingerprint': deluge_fingerprint,
     117                         'user_agent': user_agent,
     118                         'ignore_resume_timestamps': True}
    117119        self.session = lt.session(settings_pack, flags=0)
    118120
Note: See TracChangeset for help on using the changeset viewer.