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 <akira@narux.de>
This commit is contained in:
2023-09-09 11:11:25 +02:00
parent 521a0eb589
commit b02c4011d7

View File

@@ -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
)