842Mono commented on issue #5182:
URL: https://github.com/apache/openwhisk/issues/5182#issuecomment-986149778


   So I figured it out.
   
   We can modify this file 
https://github.com/apache/openwhisk/blob/master/core/standalone/src/main/resources/standalone.conf
   
   It has the lines
   
   ```
     config {
       controller-instances = 1
       limits-actions-sequence-maxLength = 50
       limits-triggers-fires-perMinute = 60
       limits-actions-invokes-perMinute = 60
       limits-actions-invokes-concurrent = 30
     }
   
   ```
   We can modify the limits to what we want.
   
   And then we need to supply the file through the `-c` parameter, through the 
`--args` parameter. Like so:
   
       sudo ./gradlew core:standalone:bootRun --args='-c 
/path/to/openwhisk/core/standalone/src/main/resources/standalone.conf'
   
   That's it.
   
   ---
   
   A bit off topic. But there's an alternative way to run openwhisk. We can do
   
       sudo ./gradlew :core:standalone:build
   
   And this will create a file in the `bin` folder called 
`openwhisk-standalone.jar`. In general, you can run openwhisk by doing
   
       sudo java -jar ./bin/openwhisk-standalone.jar
   
   And in our case, we need to supply the `standalone.conf` file through the 
`-c` parameter to the command above. We can do this:
   
       sudo java -jar ./bin/openwhisk-standalone.jar -c 
/path/to/openwhisk/core/standalone/src/main/resources/standalone.conf


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to