@cryptotaxi247 / netdata-1 / commits / b7d0773e9

freeipmi flush keepalive msgs (#15499)

Ilya Mashchenko committed Jul 23, 2023 at 01:39 UTC b7d0773e947bc7405f119a85e03ec64b0e9d9696
1 file changed +3 -1
collectors/freeipmi.plugin/freeipmi_plugin.c
+3 -1
@@ -1799,8 +1799,10 @@ int main (int argc, char **argv) {
1799 for(iteration = 0; 1 ; iteration++) {
1800 usec_t dt = heartbeat_next(&hb, step);
1801
1802 - if(!tty)
1802 + if (!tty) {
1803 fprintf(stdout, "\n"); // keepalive to avoid parser read timeout (2 minutes) during ipmi_detect_speed_secs()
1804 + fflush(stdout);
1805 + }
1806
1807 struct netdata_ipmi_state state = {0 };
1808