2020-07-03 04:11:16 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
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,
|
2020-10-13 03:15:12 +00:00
|
|
|
'client' => env('APP_API_CLIENT_RATELIMIT', 720),
|
2020-07-03 04:11:16 +00:00
|
|
|
|
|
|
|
'application_period' => 1,
|
|
|
|
'application' => env('APP_API_APPLICATION_RATELIMIT', 240),
|
|
|
|
],
|
|
|
|
];
|