diff options
author | Igor Zinkovsky <igor@deno.com> | 2023-06-02 11:12:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 11:12:26 -0700 |
commit | ce5bf9fb2a52fa337afb5f54ec2553eb4d411fd2 (patch) | |
tree | 7a5863e0612707ca451e443ead5696194245158a /ext/fetch/23_request.js | |
parent | 98320ff1f88e6b6ee1d85d64e99519986f6a7239 (diff) |
fix(kv) run sqlite transactions via spawn_blocking (#19350)
`rusqlite` does not support async operations; with this PR SQLite
operations will run through `spawn_blocking` to ensure that the event
loop does not get blocked.
There is still only a single SQLite connection. So all operations will
do an async wait on the connection. In the future we can add a
connection pool if needed.
Diffstat (limited to 'ext/fetch/23_request.js')
0 files changed, 0 insertions, 0 deletions