mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[Core] Modify #1869 fix to only apply to lt <= 0.15
A fix was implemented in 0.16: https://code.google.com/p/libtorrent/issues/detail?id=406#c39
This commit is contained in:
parent
cc56764ee9
commit
75dca80ac4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class Core(component.Component):
|
|||
|
||||
# Set session settings
|
||||
self.settings.send_redundant_have = True
|
||||
if deluge.common.windows_check():
|
||||
if deluge.common.windows_check() and lt.version_major == 0 and lt.version_minor <= 15:
|
||||
self.settings.disk_io_write_mode = \
|
||||
lt.io_buffer_mode_t.disable_os_cache
|
||||
self.settings.disk_io_read_mode = \
|
||||
|
|
Loading…
Add table
Reference in a new issue