Commit d4b79115 authored by Eric Frias's avatar Eric Frias
Browse files

Avoid long-running transactions. When hivesense is syncing at the same

time as hivemind, it may need to sleep until hivemind has processed
blocks.  We were sleeping with a transaction open, and holding open
a long-running transaction kept the autovacuum system from working,
and that crippled hivemind and reptracker (at least).
Also fix a similar problem with the workers, which were waiting inside
a transaction.
parent c04c12bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment