Increase default concurrency (#1980)

Increase the default concurrency to 500 from 5 set in the function. Usually, it is good to error on the higher side and if needed, users can always fine-tune it to their needs.
This commit is contained in:
Rahul Bhati
2021-04-06 14:52:14 +05:30
committed by GitHub
parent 25acd7fd16
commit 1cd8f4d4f7
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func (executor *Executor) getServiceForFunctionAPI(w http.ResponseWriter, r *htt
if t == fv1.ExecutorTypePoolmgr {
concurrency := fn.Spec.Concurrency
if concurrency == 0 {
concurrency = 5
concurrency = 500
}
requestsPerpod := fn.Spec.RequestsPerPod
if requestsPerpod == 0 {