Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev

2 replies

lemm.ee

Is it necessary for programs to implement their own retry logic for when sqlite returns busy intead of success or failed code?

1

The error you would get is a timeout. The easiest way to wait longer is increasing the timeout of your connection. I think the default value for a timeout is 5 seconds.

1

You reached the end

Using WAL mode in SQLite and its interaction with VACUUM | Spyke