Update worker.go
This commit is contained in:
parent
0db599df32
commit
bda06afd9c
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue