mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Support multiple daily process locking backends with distributed polling (#11896)
* Implement locks in the file cache * Replace custom locks * implement restore lock Used when re-hydrating * remove legacy use statements * Add class descriptions * Fix style * Default to database cache driver * missed cache_locks table prevent chicken-egg issue * style fixes * Remove custom file lock implementation * missed items from file cache * Update schema definition hmm, other schema noise must be from manual modification as this is generated from a freshly migrated db. * require predis, it is pure python, so no harm in adding * and set predis as the default client
This commit is contained in:
@@ -26,7 +26,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('CACHE_DRIVER', 'array'),
|
||||
'default' => env('CACHE_DRIVER', 'database'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user