Skip to content
Snippets Groups Projects
Commit 0e517f8c authored by Marco Bonardo's avatar Marco Bonardo
Browse files

Bug 1727261 - Timeout Sqlite transaction async functions to properly roll back...

Bug 1727261 - Timeout Sqlite transaction async functions to properly roll back and interrupt the transaction. r=asuth

If the passed-in async function never resolves the transaction could stay alive forever, this timeouts after
TRANSACTIONS_QUEUE_TIMEOUT_MS (5 minutes as of now) and roll backs the transaction.
A telemetry keyed scalar is added to track callers causing these timeouts and optimize them in the future.

Differential Revision: https://phabricator.services.mozilla.com/D124187
parent f89d5a43
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment