diff --git a/socketserver/server/handlecore.go b/socketserver/server/handlecore.go index 1486d502..bdda501c 100644 --- a/socketserver/server/handlecore.go +++ b/socketserver/server/handlecore.go @@ -114,10 +114,13 @@ func SetupServerAndHandle(config *ConfigFile, serveMux *http.ServeMux) { janitorsOnce.Do(startJanitors) } +func init() { + internCommands() +} + // startJanitors starts the 'is_init_func' goroutines func startJanitors() { loadUniqueUsers() - internCommands() go authorizationJanitor() go bunchCacheJanitor()