The fix: I used SQLite BEGIN IMMEDIATE transactions. I made the status check and update a single atomic operation. I used the synchronous nature of better-sqlite3 to make the locking reliable. Lessons ...
This caused duplicate work. The fix: I used SQLite transactions. I made the status check and the update a single atomic operation. I used the synchronous nature of the library to make the locking ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果