mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Merge pull request 'Hotfix: Relaxed the rate limit set for the /proxy endpoint' (#40) from dev into stable
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/40
This commit is contained in:
		
						commit
						45b26d3219
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -646,8 +646,9 @@ export class FileServerService {
 | 
				
			||||||
			key: group,
 | 
								key: group,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			// Maximum of 3600 requests per hour, which is an average of 1 per second.
 | 
								// Maximum of 3600 requests per hour, which is an average of 1 per second.
 | 
				
			||||||
			max: 3600,
 | 
								// TODO: Revert to above after caching is fixed on cdn
 | 
				
			||||||
			duration: 1000 * 60 * 60,
 | 
								max: 10000,
 | 
				
			||||||
 | 
								duration: 1000 * 60 * 10,
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		return await this.checkLimit(reply, actor, limit);
 | 
							return await this.checkLimit(reply, actor, limit);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue