-
- Downloads
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
Showing
- toolkit/components/telemetry/Scalars.yaml 19 additions, 0 deletionstoolkit/components/telemetry/Scalars.yaml
- toolkit/modules/Sqlite.jsm 57 additions, 27 deletionstoolkit/modules/Sqlite.jsm
- toolkit/modules/tests/xpcshell/test_sqlite.js 48 additions, 0 deletionstoolkit/modules/tests/xpcshell/test_sqlite.js
Loading
Please register or sign in to comment