mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Release MySQL locks when they are not used anymore
This commit is contained in:
@@ -114,6 +114,7 @@ foreach (dbFetch($query) as $device) {
|
||||
poll_device($device, $options);
|
||||
RunRules($device['device_id']);
|
||||
echo "\r\n";
|
||||
dbReleaseLock('polling.' . $device['device_id']);
|
||||
}
|
||||
$polled_devices++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user