Skip to content

Commit 89040f6

Browse files
nebrilnbusseneau
authored andcommitted
Decrease recentCutoff to 0
It seems like we are using single-workflow dependencies for now anyway and we are getting hit by the cutoff occasionally. Until we actually have multiple workflows per dependency, we can set this to 0. Signed-off-by: Maciej Kwiek <mkwiek@cisco.com>
1 parent d926b93 commit 89040f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/handlers/workflow_processor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (w *WorkflowProcessor) checkTriggerDependency(ctx context.Context, dependsO
317317
}
318318

319319
const commentSince = -3 * time.Hour
320-
const recentCutoff = -3 * time.Minute
320+
const recentCutoff = 0 // lets revisit this value if we see too many comments being posted due to the dependency check
321321
const commentLookbackLimit = 100
322322

323323
// processDependantWorkflows checks if the completed workflow run satisfies any trigger dependencies

0 commit comments

Comments
 (0)