How to change the action's Max run time to exceed 5 minutes?
- Dominant language
- Scala
- Stars
- 6.8k
- Forks
- 1.2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
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!
Contributor guide
Research direction
Start by comparing the action time-limit settings in common/scala/src/main/resources/application.conf with CONFIG_whisk_timeLimit_max in ansible/roles/controller/tasks/deploy.yml. Run the shown ansible-playbook command and inspect the deployed controller configuration to determine which value is effective. Done means the configured maximum exceeds five minutes and an action can use that limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, scala
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100