Commit 88065f16 authored by Jeremy Hylton's avatar Jeremy Hylton

Don't pass an argument to cacheMinimize(). The arg is ignored.

parent 9ddcde0a
......@@ -21,8 +21,8 @@ def convert(old, new, threshold=200, f=None):
n=n+1
if n > threshold:
get_transaction().commit(1)
old._p_jar.cacheMinimize(3)
old._p_jar.cacheMinimize()
n=0
get_transaction().commit(1)
old._p_jar.cacheMinimize(3)
old._p_jar.cacheMinimize()
......@@ -116,7 +116,7 @@ def work(db, results, nrep, compress, data, detailed, minimize, threadno=None):
rt=d=p=v=None # release all references
if minimize:
time.sleep(3)
jar.cacheMinimize(3)
jar.cacheMinimize()
def main(args):
opts, args = getopt.getopt(args, 'zd:n:Ds:LMt:U')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment