You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2023/04/06 14:32:28 UTC

[GitHub] [camel-k] christophd commented on a diff in pull request #4233: fix: Limit parallel builds on operator

christophd commented on code in PR #4233:
URL: https://github.com/apache/camel-k/pull/4233#discussion_r1159882258


##########
pkg/platform/defaults.go:
##########
@@ -226,6 +226,15 @@ func setPlatformDefaults(p *v1.IntegrationPlatform, verbose bool) error {
 			Duration: 5 * time.Minute,
 		}
 	}
+
+	if p.Status.Build.MaxRunningBuilds <= 0 {
+		if p.Status.Build.BuildStrategy == v1.BuildStrategyRoutine {

Review Comment:
   yes I have added some documentation: [docs/modules/ROOT/pages/architecture/cr/build.adoc](https://github.com/apache/camel-k/pull/4233/files#diff-2e97257191709cea3c6a41e2800a84e53380b9a01924635e4a49fa3c5eed94eb)



-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org