diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2019-04-09 09:51:52 +0200 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2019-04-09 09:51:52 +0200 |
commit | 532f55d640ec0ab2cb3f352c8e449e9351522344 (patch) | |
tree | e9bafa622694c7c05aed9f05198292e6f87e2d0d /moncheck.conf.example | |
parent | e5ac5a4e533cc4d741a6fe593dd3aa4e368f3c77 (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 'moncheck.conf.example')
0 files changed, 0 insertions, 0 deletions