use lazy bitfield in 0.6

This commit is contained in:
Marcos Pinto 2007-11-10 22:18:02 +00:00
parent 6da931e815
commit cd0465a3a1
1 changed files with 3 additions and 0 deletions

View File

@ -138,6 +138,9 @@ class Core(
# Set the user agent # Set the user agent
self.settings = lt.session_settings() self.settings = lt.session_settings()
self.settings.user_agent = "Deluge %s" % deluge.common.get_version() self.settings.user_agent = "Deluge %s" % deluge.common.get_version()
# Set lazy bitfield
self.settings.lazy_bitfields = 1
self.session.set_settings(self.settings) self.session.set_settings(self.settings)
# Load metadata extension # Load metadata extension