improvements mid apr 2025 (#26)

* General improvements and bug fixes.
* Admin dashboard
This commit is contained in:
2025-10-01 00:20:45 +01:00
committed by GitHub
parent cedee416a8
commit 0fc776228f
5 changed files with 219 additions and 8 deletions
+6
View File
@@ -387,6 +387,12 @@ func parseConfig() {
healthMgr.StartHealthChecking()
}
// Initialize RPS tracker for real-time requests per second monitoring
InitializeRPSTracker()
cfg.Logger.Info(&libpack_logging.LogMessage{
Message: "RPS tracker initialized",
})
// Load rate limit configuration with improved error handling
if err := loadRatelimitConfig(); err != nil {
// Log the error with clear guidance