Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update config

Neeraj Gupta47747f1d5625
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index 5ea4f33896..3a6ebac154 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -178,7 +178,7 @@ func main() {
authCache := cache.New(1*time.Minute, 15*time.Minute)
accessTokenCache := cache.New(1*time.Minute, 15*time.Minute)
discordController := discord.NewDiscordController(userRepo, hostName, environment)
- rateLimiter := middleware.NewRateLimitMiddleware(discordController, 5000, 5*time.Second)
+ rateLimiter := middleware.NewRateLimitMiddleware(discordController, 1000, 1*time.Second)
defer rateLimiter.Stop()
emailNotificationCtrl := &email.EmailNotificationController{