Update worker.go

This commit is contained in:
akp 2023-04-05 15:39:30 +01:00
parent 0db599df32
commit bda06afd9c
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -14,7 +14,6 @@ const interval = time.Hour
func Start(db *db.DB) {
ticker := time.NewTicker(interval)
logger := log.Logger.With().Str("location", "worker").Logger()
run(db, logger)
go func() {
for {
<-ticker.C