diff options
author | Heyang Zhou <zhy20000919@hotmail.com> | 2023-08-17 18:53:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 18:53:55 +0800 |
commit | 0960e895da1275792c1f38999f6a185c864edb3f (patch) | |
tree | 0b12abf31b0177c6c30d12ddc9f2aab1c8052d5c /ext/web/lib.rs | |
parent | ec63b36994527d0969d8083a6c4be8cd325c7473 (diff) |
fix(ext/kv): retry transaction on `SQLITE_BUSY` errors (#20189)
Properly handle the `SQLITE_BUSY` error code by retrying the
transaction.
Also wraps database initialization logic in a transaction to protect
against incomplete/concurrent initializations.
Fixes https://github.com/denoland/deno/issues/20116.
Diffstat (limited to 'ext/web/lib.rs')
0 files changed, 0 insertions, 0 deletions