Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29434/spambayes

Modified Files:
        storage.py 
Log Message:
Tim says that a cache size of 10,000 is appropriate, and he probably knows a 
thing
 or two about ZODB :)

Index: storage.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/storage.py,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** storage.py  7 Apr 2006 02:29:57 -0000       1.59
--- storage.py  22 Apr 2006 04:41:54 -0000      1.60
***************
*** 729,733 ****
  
          self.create_storage()
!         self.DB = ZODB.DB(self.storage)
          self.conn = self.DB.open()
          root = self.conn.root()
--- 729,733 ----
  
          self.create_storage()
!         self.DB = ZODB.DB(self.storage, cache_size=10000)
          self.conn = self.DB.open()
          root = self.conn.root()

_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to