Commit 80f086e1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b4fc0ce3
......@@ -1249,7 +1249,11 @@ func main() {
defer zstor.Close()
zdb := zodb.NewDB(zstor)
zhead, err := zopen(ctx, zdb, &zodb.ConnOptions{})
zhead, err := zopen(ctx, zdb, &zodb.ConnOptions{
// we need zhead.cache to be maintained across several transactions.
// see "3) for head/bigfile/* the following invariant is maintained ..."
NoPool: true,
})
if err != nil {
log.Fatal(err)
}
......
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