Open pekeler opened 1 month ago
As per the documentation "To close a database connection, but allow existing queries to finish, call .close(false):
".
Unfortunately this does not work for me as I'm running into the same bug, but just when executing many insert statements in quick succession.
What version of Bun is running?
1.1.10
What platform is your computer?
Darwin 23.5.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
No error, db is closed.
What do you see instead?
error: database is locked
Additional information
Repro: https://github.com/pekeler/bun-lite