2020-07-02 21:11:16 -07:00
|
|
|
<?php
|
|
|
|
|
|
2026-10-05 18:10:18 -04:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2020-07-02 21:11:16 -07:00
|
|
|
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,
|
2026-02-14 11:26:56 -08:00
|
|
|
'client' => env('APP_API_CLIENT_RATELIMIT', 256),
|
2020-07-02 21:11:16 -07:00
|
|
|
|
|
|
|
|
'application_period' => 1,
|
2026-02-14 11:26:56 -08:00
|
|
|
'application' => env('APP_API_APPLICATION_RATELIMIT', 256),
|
2026-10-05 18:10:18 -04:00
|
|
|
|
|
|
|
|
'admin_period' => 1,
|
|
|
|
|
'admin' => env('APP_API_ADMIN_RATELIMIT', 256),
|
2020-07-02 21:11:16 -07:00
|
|
|
],
|
|
|
|
|
];
|