[Checkins] SVN: relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py Rest a bit before closing to avoid an error closing the cache while

Jim Fulton jim at zope.com
Mon Oct 5 16:13:36 EDT 2009


Log message for revision 104810:
  Rest a bit before closing to avoid an error closing the cache while
  invalidations are updating it.
  

Changed:
  U   relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py

-=-
Modified: relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py
===================================================================
--- relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py	2009-10-05 19:50:23 UTC (rev 104809)
+++ relstorage/branches/jim-speedtest/relstorage/tests/speedtest.py	2009-10-05 20:13:35 UTC (rev 104810)
@@ -165,6 +165,7 @@
             transaction.commit()
             conn.close()
         end = time.time()
+        time.sleep(.1)
         db.close()
         return end - start
 



More information about the checkins mailing list