From 6a48b735d1356947e898cfdff3308cd6311c9d9d Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Sat, 18 Feb 2023 18:09:58 +0000 Subject: [PATCH] increase timeout for QUOTA errors --- src/Simplex/Messaging/Agent/Env/SQLite.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Simplex/Messaging/Agent/Env/SQLite.hs b/src/Simplex/Messaging/Agent/Env/SQLite.hs index b596eb374..0bba24180 100644 --- a/src/Simplex/Messaging/Agent/Env/SQLite.hs +++ b/src/Simplex/Messaging/Agent/Env/SQLite.hs @@ -123,13 +123,13 @@ defaultMessageRetryInterval = maxInterval = 60_000000 }, riSlow = - -- TODO: these timeouts can be increased in v4.6 once most clients are updated + -- TODO: these timeouts can be increased in v5.0 once most clients are updated -- to resume sending on QCONT messages. -- After that local message expiration period should be also increased. RetryInterval - { initialInterval = 30_000000, - increaseAfter = 30_000000, - maxInterval = 600_000000 + { initialInterval = 60_000000, + increaseAfter = 60_000000, + maxInterval = 1200_000000 -- 20min } }