summaryrefslogtreecommitdiff
path: root/ext/web/stream_resource.rs
diff options
context:
space:
mode:
authorHeyang Zhou <zhy20000919@hotmail.com>2023-08-17 18:53:55 +0800
committerGitHub <noreply@github.com>2023-08-17 18:53:55 +0800
commit0960e895da1275792c1f38999f6a185c864edb3f (patch)
tree0b12abf31b0177c6c30d12ddc9f2aab1c8052d5c /ext/web/stream_resource.rs
parentec63b36994527d0969d8083a6c4be8cd325c7473 (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/stream_resource.rs')
0 files changed, 0 insertions, 0 deletions