Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTTP] Handle forked process timeout #5

Open
stefanprodan opened this issue Jan 29, 2018 · 2 comments
Open

[HTTP] Handle forked process timeout #5

stefanprodan opened this issue Jan 29, 2018 · 2 comments

Comments

@stefanprodan
Copy link

When the forked process doesn't respond to http calls, the watchdog could release the lock file to trigger a container restart.

Expected Behaviour

If the function http server timeouts, the watchdog should log the timeout exception and release the lock file.
Maybe implement a retry mechanism and exit after several timeouts?

Current Behaviour

Currently the watchdog only logs the http error without detection a timeout.

@alexellis
Copy link
Member

Sounds like an interesting idea. How would you do that?

@alexellis
Copy link
Member

@stefanprodan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants