Skip to content

Commit

Permalink
agent: reduce interval for storing server connection errors to 3 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed May 22, 2024
1 parent 8097df5 commit 2b09ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Simplex/Messaging/Agent/Env/SQLite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ defaultAgentConfig =
connDeleteDeliveryTimeout = 2 * nominalDay,
helloTimeout = 2 * nominalDay,
quotaExceededTimeout = 7 * nominalDay,
persistErrorInterval = 10, -- seconds
persistErrorInterval = 3, -- seconds
initialCleanupDelay = 30 * 1000000, -- 30 seconds
cleanupInterval = 30 * 60 * 1000000, -- 30 minutes
cleanupStepInterval = 200000, -- 200ms
Expand Down

0 comments on commit 2b09ada

Please sign in to comment.