Closed IldarAbdullin-okta closed 1 year ago
👍 Curious what was the reason of this change? was it retrying too quickly?
Default config is:
/// The SQLITE_BUSY error is immediately returned to the connection that tries to access the locked database.
case immediateError
Problem Analysis (Technical)
Add
configuration.busyMode = .timeout(1)
to sqlite configuration. This allows grdb to wait for 1 second before retrying in case if write operation returned SQLITE_BUSY error