From 6737718f08dfc8c2057d8933b9c2bbf707432271 Mon Sep 17 00:00:00 2001 From: Chris kerr Date: Mon, 2 Sep 2024 17:03:46 -0400 Subject: [PATCH] fix in example config --- app/static/examples/config.example.yml | 4 ---- server/utils/watchConfig.go | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/static/examples/config.example.yml b/app/static/examples/config.example.yml index 1888e31..fa553cd 100644 --- a/app/static/examples/config.example.yml +++ b/app/static/examples/config.example.yml @@ -39,19 +39,15 @@ rate_limit: # Rate limits for different event categories category_limits: ephemeral: - kind: 0 limit: 100 # Events per second burst: 200 # Allowed burst parameterized_replaceable: - kind: 0 limit: 5 burst: 10 regular: - kind: 0 limit: 25 burst: 50 replaceable: - kind: 0 limit: 10 burst: 20 diff --git a/server/utils/watchConfig.go b/server/utils/watchConfig.go index 1f0d5c3..4643c81 100644 --- a/server/utils/watchConfig.go +++ b/server/utils/watchConfig.go @@ -49,4 +49,4 @@ func WatchConfigFile(filePath string, restartChan chan<- struct{}) { log.Println("Error watching file:", err) } } -} \ No newline at end of file +}