Update windows setting
This commit is contained in:
parent
5b2d37954c
commit
e9b602d85f
|
@ -96,9 +96,9 @@ class Core(component.Component):
|
|||
self.settings.send_redundant_have = True
|
||||
if deluge.common.windows_check():
|
||||
self.settings.disk_io_write_mode = \
|
||||
lt.io_buffer_mode_t.disable_os_cache_for_aligned_files
|
||||
lt.io_buffer_mode_t.disable_os_cache
|
||||
self.settings.disk_io_read_mode = \
|
||||
lt.io_buffer_mode_t.disable_os_cache_for_aligned_files
|
||||
lt.io_buffer_mode_t.disable_os_cache
|
||||
self.session.set_settings(self.settings)
|
||||
|
||||
# Load metadata extension
|
||||
|
|
Loading…
Reference in New Issue