Ordinary
9891b04215
fix: wait out SQLite busy on concurrent asset upserts
...
Deep mode fires many create_asset calls at once. UpsertAssets used a
DEFERRED transaction (SELECT then INSERT) on a 25-connection pool, so
writers hit SQLITE_BUSY immediately and returned "database is locked"
in a few milliseconds instead of waiting.
Open SQLite with _txlock=immediate and a 30s busy timeout, shrink the
pool, and retry locked upserts. Add a 32-way concurrent upsert test.
2026-10-16 12:20:21 +08:00
..
2026-10-11 22:30:30 +08:00
2026-10-16 12:20:21 +08:00
2026-10-16 12:20:21 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-10 20:45:39 +08:00
2026-09-13 18:02:43 +08:00
2026-09-08 09:44:32 +08:00
2026-10-06 03:37:39 +08:00
2026-08-18 20:34:53 +08:00
2026-10-06 01:48:12 +08:00
2026-08-18 20:34:53 +08:00
2026-09-25 14:46:23 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-10 07:21:20 +08:00
2026-10-16 12:20:21 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-11 22:30:30 +08:00
2026-10-11 22:30:30 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-09-08 09:44:32 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-23 19:57:17 +08:00
2026-10-12 10:49:23 +08:00
2026-10-12 17:56:43 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-12 19:34:24 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-12 19:34:24 +08:00
2026-08-26 15:00:09 +08:00
2026-10-10 20:45:39 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-10 20:45:39 +08:00
2026-10-11 22:30:30 +08:00
2026-10-10 20:45:39 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-09-25 14:46:23 +08:00
2026-08-18 20:34:53 +08:00
2026-09-08 09:44:32 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-10 07:21:20 +08:00
2026-10-10 07:21:20 +08:00
2026-10-10 18:02:02 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-08-18 20:34:53 +08:00
2026-10-10 20:45:39 +08:00