Add environment variable for per_schedule_task_limit (#3557)

The environment variable `PTERODACTYL_PER_SCHEDULE_TASK_LIMIT` can be used to change the maximum number of tasks per schedule.
This commit is contained in:
Omar Kamel 2021-08-20 13:07:05 -04:00 committed by GitHub
parent b4cae916ac
commit b67aceb685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ return [
'schedules' => [ 'schedules' => [
// The total number of tasks that can exist for any given schedule at once. // The total number of tasks that can exist for any given schedule at once.
'per_schedule_task_limit' => 10, 'per_schedule_task_limit' => env('PTERODACTYL_PER_SCHEDULE_TASK_LIMIT', 10),
], ],
'allocations' => [ 'allocations' => [