Minor tweaks

This commit is contained in:
TwinProduction
2021-07-18 16:39:57 -04:00
committed by Chris
parent 2037d9aca6
commit acb6757dc8
3 changed files with 9 additions and 14 deletions

View File

@ -39,12 +39,6 @@ var (
server *http.Server
)
//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) {
var router http.Handler = CreateRouter(securityConfig, enableMetrics)