Update windows setting

This commit is contained in:
Andrew Resch 2011-07-19 16:50:32 -07:00
parent 5b2d37954c
commit e9b602d85f
1 changed files with 2 additions and 2 deletions

View File

@ -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