From 5e103aa6f2dc52ce533c0fe94739b7b41f424cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sat, 11 Jan 2025 10:04:29 -0300 Subject: [PATCH] Do not increase verification check interval if first fails --- src/lvmnps/actor/actor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lvmnps/actor/actor.py b/src/lvmnps/actor/actor.py index 7dee6e8..5a8a0ef 100644 --- a/src/lvmnps/actor/actor.py +++ b/src/lvmnps/actor/actor.py @@ -129,7 +129,6 @@ async def _check_internal(self): if result is False: raise VerificationError("NPS verification failed.") except Exception as err: - self.check_interval = 5 # Speed up checks raise CheckError(str(err), error_code=NPSErrorCodes.VERIFICATION_FAILED) self.check_interval = CHECK_INTERVAL