mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Throttle error reporting (#15391)
* Throttle error reporting Sets how frequently errors can be reported (across all pollers) Also has the side effect of at most 1 error reported per run To disable, set reporting.throttle to 0 (for development and testing purposes) * Don't crash if Cache provider is unavailable, refactor
This commit is contained in:
@@ -1291,6 +1291,10 @@ return [
|
||||
'description' => 'Dump debug errors (Will break your install)',
|
||||
'help' => 'Dump out errors that are normally hidden so you as a developer can find and fix the possible issues.',
|
||||
],
|
||||
'throttle' => [
|
||||
'description' => 'Throttle Error Reports',
|
||||
'help' => 'Reports will only be sent every specified amount of seconds. Without this if you have an error in common code reporting can get out of hand. Set to 0 to disable throttling.',
|
||||
],
|
||||
],
|
||||
'route_purge' => [
|
||||
'description' => 'Route entries older than',
|
||||
|
Reference in New Issue
Block a user