openwhisk icon indicating copy to clipboard operation
openwhisk copied to clipboard

How to change the action's Max run time to exceed 5 minutes?

Open Hyzheng-DBSys opened this issue 1 year ago • 0 comments

Hello team!

Openwhisk's default action runtime limit ( used -- timeout ) can only be set to a maximum of 5 minutes, but I want to change the action Max time limit to make it more than 5 minutes

I have found some related issues, but they don't work and seem to be out of date. Maybe I did it the wrong way.

I have tried to change the incubator-openwhisk/common/scala/src/main/resources/application.conf: # action timelimit configuration time-limit { min = 100 ms # max = 5 m max=10 m std = 1 m }

and incubator-openwhisk/ansible/roles/controller/tasks/deploy.yml: "CONFIG_whisk_timeLimit_max": "{{ limit_action_time_max | default(600000) }}"

then run ansible-playbook -i environments/local openwhisk.yml

but none of them worked. I want to know how can we change the maximum action run time limit? Thanks for your help!

Hyzheng-DBSys avatar Sep 24 '24 13:09 Hyzheng-DBSys