File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -585,3 +585,6 @@ This file describes the main feature changes for each readout.exe released versi
585585
586586## v2.21.2 - 14/09/2023
587587- Monitoring: fix buffer statistics in bytes (wrong values were reported above 4GB because of a 32bit variable).
588+
589+ ## v2.21.3 - 05/10/2023
590+ - Monitoring: fix multiple publish if system stuck for longer than the update period.
Original file line number Diff line number Diff line change @@ -235,7 +235,9 @@ class ConsumerStats : public Consumer
235235 double timeUntilTimeout = monitoringUpdateTimer.getRemainingTime (); // measured in seconds
236236 if (timeUntilTimeout <= 0 ) {
237237 publishStats ();
238- monitoringUpdateTimer.increment ();
238+ monitoringUpdateTimer.increment (true );
239+ // ensure a minimum time between consecutive publish
240+ usleep (100000 );
239241 } else {
240242 if (timeUntilTimeout > 1 ) {
241243 timeUntilTimeout = 1.0 ; // avoid a sleep longer than 1s to allow exiting promptly
Original file line number Diff line number Diff line change 99// granted to it by virtue of its status as an Intergovernmental Organization
1010// or submit itself to any jurisdiction.
1111
12- #define READOUT_VERSION "2.21.2 "
12+ #define READOUT_VERSION "2.21.3 "
1313
You can’t perform that action at this time.
0 commit comments