mark proxy timeouts as temporary

This commit is contained in:
Alexander Bondarenko
2024-04-22 20:09:08 +03:00
parent 0eee9eb65b
commit d084a32f2b

View File

@@ -1142,6 +1142,8 @@ temporaryAgentError :: AgentErrorType -> Bool
temporaryAgentError = \case
BROKER _ NETWORK -> True
BROKER _ TIMEOUT -> True
SMP (SMP.PROXY SMP.TIMEOUT) -> True
NTF (SMP.PROXY SMP.TIMEOUT) -> True
INACTIVE -> True
_ -> False
{-# INLINE temporaryAgentError #-}