Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Maximum timeout for NodeJS functions #442

Merged
merged 10 commits into from
Nov 23, 2017

Conversation

andresmgot
Copy link
Contributor

Issue Ref: #365

Description:

This PR adds a timeout handler for the Python runtime. If a function takes more than 3 seconds on its execution the subprocess get killed. The timeout is configurable using the environment variable FUNC_TIMEOUT.

TODOs:

@andresmgot andresmgot merged commit 9e9f314 into vmware-archive:master Nov 23, 2017
sayanh pushed a commit to sayanh/kubeless that referenced this pull request Jan 17, 2018
* Timeout for nodejs

* Fix timeout. Added test

* Fix relative paths import

* Minor: change variable name

* Minor refactor

* Enable timeout test

* Fix require

* Exit the process if the timeout is reached

* Set default timeout to 180 seconds
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant