mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	merge: Increase rate limit on server-info to avoid errors and blank graphs (!903)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/903 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
		
						commit
						0e01c94efc
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -64,10 +64,11 @@ export const meta = {
 | 
			
		|||
		},
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	// 2 calls per second
 | 
			
		||||
	// 24 calls, then 7 per second-ish (1 for each type of server info graph)
 | 
			
		||||
	limit: {
 | 
			
		||||
		duration: 1000,
 | 
			
		||||
		max: 2,
 | 
			
		||||
		max: 24,
 | 
			
		||||
		dripSize: 7,
 | 
			
		||||
		dripRate: 900,
 | 
			
		||||
	},
 | 
			
		||||
} as const;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue