Skip to content

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

@Hyzheng-WHU

Description

@Hyzheng-WHU

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions