[Checkins] SVN: z3c.image/trunk/src/z3c/image/proc/adapter.py less entries

Bernd Dorn bernd.dorn at fhv.at
Sun Oct 22 14:57:14 EDT 2006


Log message for revision 70885:
  less entries

Changed:
  U   z3c.image/trunk/src/z3c/image/proc/adapter.py

-=-
Modified: z3c.image/trunk/src/z3c/image/proc/adapter.py
===================================================================
--- z3c.image/trunk/src/z3c/image/proc/adapter.py	2006-10-22 18:52:04 UTC (rev 70884)
+++ z3c.image/trunk/src/z3c/image/proc/adapter.py	2006-10-22 18:57:14 UTC (rev 70885)
@@ -11,9 +11,9 @@
 from zope.app.cache.ram import RAMCache
 import os
 try:
-    maxEntries = int(os.popen('ulimit -n').read().strip()) - 10
+    maxEntries = int(os.popen('ulimit -n').read().strip()) - 100
 except:
-    maxEntries = 500
+    maxEntries = 100
     
 # see http://mail.python.org/pipermail/image-sig/2003-May/002228.html
 ImageFile.MAXBLOCK = 1024*1024*10



More information about the Checkins mailing list