diff options
author | iximeow <me@iximeow.net> | 2023-06-30 01:45:33 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-06-30 01:45:33 -0700 |
commit | 9de08fd8c3eb7b825153f6d2a960b18993f75616 (patch) | |
tree | 4eacbd4dad8d4c2bb81f083a37aacd5e4cd45a93 /config | |
parent | 1589853ea765f5512ea776a74535d6022812e289 (diff) |
release db connection lock so as to not deadlock ci_driver
afaict holding the lock over an await point gives tokio an opportunity
to run a different task - perhaps a different API request that would try
acquring the db connection lock. then it deadlocks; the second task
holds the thread hostage while waiting for the first task to release its
lock, which it can't do due to no thread being available for it to run
on.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions