trigger new title search
This commit is contained in:
parent
fee096caea
commit
414043480d
|
@ -130,6 +130,11 @@ func (w *Worker) RefreshReviews(jobID int, movieID string) {
|
||||||
w.jq.MarkFailed(jobID)
|
w.jq.MarkFailed(jobID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if err := w.jq.Add(review.ID, moviestore.ActionFindTitles); err != nil {
|
||||||
|
logger.Error("could not add job", "error", err)
|
||||||
|
w.jq.MarkFailed(jobID)
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Info("refresh reviews", "count", len(reviews))
|
logger.Info("refresh reviews", "count", len(reviews))
|
||||||
|
|
Loading…
Reference in New Issue