Re-add the ticker periodically updating stats

This commit is contained in:
2021-11-03 21:45:40 +01:00
parent b2edb2b4bf
commit a19fb3086b
3 changed files with 27 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ func ActionServe(c *cli.Context) error {
defer serversCancel()
// Setup metrics collection
s = store.NewMetricsCollectingStore(s)
s = store.NewMetricsCollectingStore(rootCtx, s)
// Setup honeypot
hs, err := ssh.NewHoneypotServer(cfg.Honeypot, s)