mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Slow polling loop
This commit is contained in:
@@ -1424,6 +1424,7 @@ function rrdtest($path, &$stdOutput, &$stdError) {
|
||||
|
||||
$status = proc_get_status($process);
|
||||
while($status['running']) {
|
||||
usleep(2000); // Sleep 2000 microseconds or 2 milliseconds
|
||||
$status = proc_get_status($process);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user