+57
−27
Loading
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