mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Make backup throttling configurable
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user