aboutsummaryrefslogtreecommitdiff
path: root/go.mod
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 /go.mod
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 'go.mod')
0 files changed, 0 insertions, 0 deletions