SQLITE_BUSY errors #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While tracerouting on local dev environment:
SQLite performance optimization status
Status
internal/persistence/sqlite/store.gojournal_mode=WALbusy_timeout=5000foreign_keys=ONSetMaxOpenConns(1)/SetMaxIdleConns(1)internal/persistence/sqlite/store_open_test.goandinternal/persistence/sqlite/store_write_test.goUpsertNode(...)no longer does a pre-read existence probeUpsertPosition(...)updates related rows in one transactionInsertLogEvent(...)cacheslog_channelsIDsweb/src/App.tsxto avoid redundant/api/v1/log/eventsreads and ignore stale overlapping responsesRemaining work
SQLITE_BUSY/database is lockederrors are now rare enough.synchronous=NORMALValidation focus
Seems solved.