mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: DB Updates will now file level lock to stop duplicate updates (#6469)
* refactor: DB Updates will now file level lock to stop duplicate updates * scrut fixes * renamed function from clear_lock() to release_lock()
This commit is contained in:
@@ -113,7 +113,9 @@ if (!$where) {
|
||||
exit;
|
||||
}
|
||||
|
||||
require 'includes/sql-schema/update.php';
|
||||
if (get_lock('schema') === false) {
|
||||
require 'includes/sql-schema/update.php';
|
||||
}
|
||||
|
||||
$discovered_devices = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user