likyh commented on code in PR #3764:
URL:
https://github.com/apache/incubator-devlake/pull/3764#discussion_r1030249762
##########
services/pipeline.go:
##########
@@ -167,27 +171,58 @@ func RunPipelineInQueue(pipelineMaxParallel int64) {
dbPipeline := &models.DbPipeline{}
for {
cronLocker.Lock()
+ // prepare query to find an appropriate pipeline to
execute
db.Where("status IN ?", []string{models.TASK_CREATED,
models.TASK_RERUN}).
+ Joins(`left join _devlake_pipeline_labels ON
+ _devlake_pipeline_labels.pipeline_id = _devlake_pipelines.id
AND
Review Comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]