summaryrefslogtreecommitdiff
path: root/src/ci_runner.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-06-30 01:45:33 -0700
committeriximeow <me@iximeow.net>2023-06-30 01:45:33 -0700
commit9de08fd8c3eb7b825153f6d2a960b18993f75616 (patch)
tree4eacbd4dad8d4c2bb81f083a37aacd5e4cd45a93 /src/ci_runner.rs
parent1589853ea765f5512ea776a74535d6022812e289 (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 'src/ci_runner.rs')
0 files changed, 0 insertions, 0 deletions