Update windows setting

This commit is contained in:
Andrew Resch 2011-07-19 16:50:32 -07:00
parent 0555fbeb9d
commit 8dbdb02967

View File

@ -97,9 +97,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