summaryrefslogtreecommitdiff
path: root/tools/merge_fetch.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-11-25 01:04:12 +0100
committerLinus Nordberg <linus@nordu.net>2016-11-25 01:04:12 +0100
commite253cf7a2e1465e4e57f8d42d87492855167f4a1 (patch)
tree5d9f3705497c2fcfa798adb34350f2622844126f /tools/merge_fetch.py
parent49b6e85963ef55fb6cfa1876fe825730f95658bc (diff)
Unbreak the ordinary tests.pmerge2
Diffstat (limited to 'tools/merge_fetch.py')
-rwxr-xr-xtools/merge_fetch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/merge_fetch.py b/tools/merge_fetch.py
index 6accca4..e00f061 100755
--- a/tools/merge_fetch.py
+++ b/tools/merge_fetch.py
@@ -140,6 +140,7 @@ def merge_fetch_worker(args, localconfig, storagenode, pipe):
verify_entry(verifycert, entry, ehash)
chainsdb.add(ehash, entry)
chainsdb.commit()
+ chainsdb.release_lock()
for ehash in chunk:
pipe.send('FETCHED %s' % hexencode(ehash))
to_fetch.remove(ehash)