mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 22:03:53 +01:00
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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user