feat: scope articles by brand
This commit is contained in:
@@ -110,9 +110,6 @@ func main() {
|
||||
if jobCtx.Job != nil && jobCtx.Job.TimeoutSeconds > 0 {
|
||||
timeout = time.Duration(jobCtx.Job.TimeoutSeconds) * time.Second
|
||||
}
|
||||
if timeout <= 0 {
|
||||
timeout = 45 * time.Second
|
||||
}
|
||||
taskCtx, cancel := context.WithTimeout(runCtx, timeout)
|
||||
defer cancel()
|
||||
return monitoringDailyTaskWorker.RunOnce(taskCtx, monitoringDailyRunOptions(jobCtx))
|
||||
|
||||
Reference in New Issue
Block a user