this post was submitted on 04 Nov 2023
7 points (100.0% liked)

SQLite

74 readers
4 users here now

For discussions about the SQLite database

founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] perviouslyiner@lemm.ee 1 points 2 years ago (1 children)

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

[โ€“] norambna@programming.dev 1 points 2 years ago

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.