mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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