mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-25 19:46:51 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			652 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			652 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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,
 | |
|         'client' => env('APP_API_CLIENT_RATELIMIT', 720),
 | |
| 
 | |
|         'application_period' => 1,
 | |
|         'application' => env('APP_API_APPLICATION_RATELIMIT', 240),
 | |
|     ],
 | |
| ];
 | 
