mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
27 lines
782 B
PHP
27 lines
782 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| API Rate Limits
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Defines the rate limit for the number of requests per minute that can be
|
|
| executed against both the client and internal (application) APIs over the
|
|
| defined period (by default, 1 minute).
|
|
|
|
|
*/
|
|
'rate_limit' => [
|
|
'client_period' => 1,
|
|
'client' => (int) env('APP_API_CLIENT_RATELIMIT', 256),
|
|
|
|
'application_period' => 1,
|
|
'application' => (int) env('APP_API_APPLICATION_RATELIMIT', 256),
|
|
|
|
'admin_period' => 1,
|
|
'admin' => (int) env('APP_API_ADMIN_RATELIMIT', 256),
|
|
],
|
|
];
|