Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit f407598

Browse files
committed
Remove default implicit configuration that sets the concurrency to 1 #183
- remove implicit configurtion values for memory, concurrency, and timeout
1 parent 447d3fb commit f407598

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compile/functions/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ class OpenWhiskCompileFunctions {
5151
}
5252

5353
calculateMemorySize(functionObject) {
54-
return functionObject.memory || this.serverless.service.provider.memory || 256;
54+
return functionObject.memory || this.serverless.service.provider.memory;
5555
}
5656

5757
calculateConcurrency(functionObject) {
58-
return functionObject.concurrency || this.serverless.service.provider.concurrency || 1;
58+
return functionObject.concurrency || this.serverless.service.provider.concurrency;
5959
}
6060

6161
calculateTimeout(functionObject) {
62-
return functionObject.timeout || this.serverless.service.provider.timeout || 60;
62+
return functionObject.timeout || this.serverless.service.provider.timeout;
6363
}
6464

6565
calculateOverwrite(functionObject) {

0 commit comments

Comments
 (0)