# HG changeset patch # User Pierre-Yves David # Date 1470919879 -7200 # Node ID 98b9846a131e2006171ea136351c6d2dc76f7d8a # Parent a76d5ba7ac4331e10e9e057ebc90f8fce6de531a perf: release lock after transaction in perffncachewrite The transaction should be closed within the lock. diff -r a76d5ba7ac43 -r 98b9846a131e contrib/perf.py --- a/contrib/perf.py Tue Aug 23 23:47:59 2016 +0200 +++ b/contrib/perf.py Thu Aug 11 14:51:19 2016 +0200 @@ -575,8 +575,8 @@ s.fncache._dirty = True s.fncache.write(tr) timer(d) + tr.close() lock.release() - tr.close() fm.end() @command('perffncacheencode', formatteropts)