[core] Fix missing timer configuration for permits

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-06-16 22:00:46 +02:00
parent 996cc2877d
commit fdf3d95322
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -121,6 +121,7 @@ func loadConfig(filename string) error {
} }
config = tmpConfig config = tmpConfig
timerService.UpdatePermitTimeout(tmpConfig.PermitTimeout)
log.WithFields(log.Fields{ log.WithFields(log.Fields{
"auto_messages": len(config.AutoMessages), "auto_messages": len(config.AutoMessages),