Make backup throttling configurable
This commit is contained in:
parent
a7fef8b736
commit
794cf9d9dd
3 changed files with 23 additions and 9 deletions
|
@ -16,6 +16,16 @@ return [
|
|||
// to 6 hours. To disable this feature, set the value to `0`.
|
||||
'prune_age' => env('BACKUP_PRUNE_AGE', 360),
|
||||
|
||||
// Defines the backup creation throttle limits for users. In this default example, we allow
|
||||
// a user to create two (successful or pending) backups per 10 minutes. Even if they delete
|
||||
// a backup it will be included in the throttle count.
|
||||
//
|
||||
// Set the period to "0" to disable this throttle. The period is defined in seconds.
|
||||
'throttles' => [
|
||||
'limit' => env('BACKUP_THROTTLE_LIMIT', 2),
|
||||
'period' => env('BACKUP_THROTTLE_PERIOD', 600),
|
||||
],
|
||||
|
||||
'disks' => [
|
||||
// There is no configuration for the local disk for Wings. That configuration
|
||||
// is determined by the Daemon configuration, and not the Panel.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue