aboutsummaryrefslogtreecommitdiff
path: root/fe6bd04947e26a962fab3cf7a354abd44333bda6
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2019-04-09 09:51:52 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2019-04-09 09:51:52 +0200
commit532f55d640ec0ab2cb3f352c8e449e9351522344 (patch)
treee9bafa622694c7c05aed9f05198292e6f87e2d0d /fe6bd04947e26a962fab3cf7a354abd44333bda6
parente5ac5a4e533cc4d741a6fe593dd3aa4e368f3c77 (diff)
fix idle in transaction
It happend all the time, that connections were hanging in idle in transaction state. This was caused by a rollback stuck behind a sleep loop to wait for the next bunch of checks to run. This also replaces a Query() call with QueryRow, as we only expect a single row and this cleans up the code a bit.
Diffstat (limited to 'fe6bd04947e26a962fab3cf7a354abd44333bda6')
0 files changed, 0 insertions, 0 deletions