Plugin problem with 120 seconds onheartbeat period
Posted: Wednesday 15 November 2017 11:16
Hi all,
In a python plugin that i wrote, When i set a heartbeat period of greater than 60 seconds, the plugin gives "Error: hardware (2) thread seems to have ended unexpectedly". Below, i set the heartbeat to 90 seconds:
Although the error messages show up, the plugin continues to work. Please note that the errors exist start of the minute plus the heartbeat period like minutes: 06:00, 07:30, 09:00 etc. But the heartbeat period starts with the plugin onstart. How can i get rid of the error messages??
In a python plugin that i wrote, When i set a heartbeat period of greater than 60 seconds, the plugin gives "Error: hardware (2) thread seems to have ended unexpectedly". Below, i set the heartbeat to 90 seconds:
Code: Select all
2017-11-15 13:04:31.865 (fg) Initialized version 1.0.0, author 'febalci'
2017-11-15 13:04:41.440 (fg) Calling message handler 'onHeartbeat'.
2017-11-15 13:04:41.440 (fg) onHeartbeat called
2017-11-15 13:06:00.904 Error: fg hardware (2) thread seems to have ended unexpectedly
2017-11-15 13:06:11.895 (fg) Calling message handler 'onHeartbeat'.
2017-11-15 13:06:11.895 (fg) onHeartbeat called
2017-11-15 13:07:30.429 Error: fg hardware (2) thread seems to have ended unexpectedly
2017-11-15 13:07:42.440 (fg) Calling message handler 'onHeartbeat'.
2017-11-15 13:07:42.440 (fg) onHeartbeat called
2017-11-15 13:09:00.883 Error: fg hardware (2) thread seems to have ended unexpectedly
2017-11-15 13:09:12.909 (fg) Calling message handler 'onHeartbeat'.
2017-11-15 13:09:12.909 (fg) onHeartbeat called