From b02c4011d784ebd4779dad42f7c8f5d788f879cb Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Sat, 9 Sep 2023 11:11:25 +0200 Subject: [PATCH] fix: Changed misleading text of a ProcimgWriter warning If the IOs cannot be written quickly enough by the ProcimgWriter, this indicates high system utilization. The cycle function itself would trigger a different message through the lck_refresh lock. Signed-off-by: Sven Sager --- src/revpimodio2/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/revpimodio2/helper.py b/src/revpimodio2/helper.py index 81b9115..9ad4ad0 100644 --- a/src/revpimodio2/helper.py +++ b/src/revpimodio2/helper.py @@ -617,7 +617,7 @@ class ProcimgWriter(Thread): # Second default_timer call include calculation time from above if default_timer() - ot > self._refresh: warnings.warn( - "cycle time of {0} ms exceeded - can not hold cycle time!" + "io refresh time of {0} ms exceeded!" "".format(int(self._refresh * 1000)), RuntimeWarning )