@mcc a sqlite connection pointer can be safely moved between threads, but it does not perform internal synchronization and so can not be used by more than one thread at the same time. you can open more connections and distribute connections among threads to get concurrency. in wal mode the concurrency can be parallel for reads, but at most only one writer will proceed at a time.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://don.rag.pub/users/raggi/statuses/115272702604609932 on your instance and quote it. (Note that quoting is not supported in Mastodon.)