Open justinmoon opened 5 months ago
It was a long time since I've used sqlx with sqlite, but as far as I know if you have multiple writers to sqlite then it's highly likely that you'll get this error. See for instance: https://github.com/launchbadge/sqlx/issues/451
You can try to limit the pool connections to 1 or use a single connection inside a RwLock. Of course this only makes sense for sqlite because any other database will be able to have concurrent writers.
If an error like this is encountered, it will stop syncing: