Skip to content

Commit 8fa669a

Browse files
committed
Reduce MaxConcurrentReconciles from 100 to 10
Each reconcile clones a git repo and potentially runs a func deploy (building container images). 100 concurrent reconciles could overwhelm disk I/O, memory, and API rate limits.
1 parent f51177a commit 8fa669a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/controller/function_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ func (r *FunctionReconciler) SetupWithManager(mgr ctrl.Manager) error {
443443
).
444444
Named("function").
445445
WithOptions(controller.Options{
446-
MaxConcurrentReconciles: 100, // TODO: find a good value
446+
MaxConcurrentReconciles: 10, // TODO: find a good value
447447
}).
448448
Complete(r)
449449
}

0 commit comments

Comments
 (0)