2
0
mirror of https://github.com/hibiken/asynq.git synced 2026-05-19 06:10:01 +08:00

Rename to CheckAndEnqueue

This commit is contained in:
Ken Hibino
2019-12-04 07:28:57 -08:00
parent af1dcf5044
commit 28bfb6d83a
4 changed files with 9 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ func (p *poller) start() {
}
func (p *poller) exec() {
if err := p.rdb.CheckScheduled(); err != nil {
if err := p.rdb.CheckAndEnqueue(); err != nil {
log.Printf("[ERROR] could not forward scheduled tasks: %v\n", err)
}
}