Major fixes and improvements

This commit is contained in:
TwinProduction authored and Chris committed 2021-07-18 17:29:08 -04:00
1 parent fed32d3909
commit d3a81a2d57
14 files changed
+378 -158

No files matched your search

+5 -5
View File
@@ -39,11 +39,11 @@ var (
server *http.Server
)
func init() {
if err := cache.StartJanitor(); err != nil {
log.Fatal("[controller][init] Failed to start cache janitor:", err.Error())
}
}
//func init() { XXX: Don't think there's any value in using the janitor since the cache max size is this small
// if err := cache.StartJanitor(); err != nil {
// log.Fatal("[controller][init] Failed to start cache janitor:", err.Error())
// }
//}
// Handle creates the router and starts the server
func Handle(securityConfig *security.Config, webConfig *config.WebConfig, enableMetrics bool) {