Commit 1471105f authored by Barry Warsaw's avatar Barry Warsaw

pack2(): pack doesn't require a read-write connection.

parent a87ed448
......@@ -62,7 +62,7 @@ def pack1(addr, storage, days, wait):
cs.close()
def pack2(addr, storage, days):
cs = ClientStorage(addr, storage=storage, wait=1)
cs = ClientStorage(addr, storage=storage, wait=1, read_only=1)
cs.pack(wait=1, days=days)
cs.close()
......
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