diff --git a/src/Simplex/Messaging/Agent/Store/SQLite.hs b/src/Simplex/Messaging/Agent/Store/SQLite.hs index 42ad1ad1e..8325f4b33 100644 --- a/src/Simplex/Messaging/Agent/Store/SQLite.hs +++ b/src/Simplex/Messaging/Agent/Store/SQLite.hs @@ -104,7 +104,7 @@ withTransaction db a = loop 100 100_000 if tLim > t && DB.sqlError e == DB.ErrorBusy then do threadDelay t - loop (t * 3 `div` 2) (tLim - t) + loop (t * 5 `div` 4) (tLim - t) else E.throwIO e instance (MonadUnliftIO m, MonadError StoreError m) => MonadAgentStore SQLiteStore m where