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

feat(valhalla): allow to configure exec timeout #111

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

tetram
Copy link
Contributor

@tetram tetram commented Dec 18, 2024

Allow to configure a timeout on valhalla_service exec

When requesting a valhalla source, if the http request is canceled (client termination or reverse proxy timeout) the valhalla_service process continues to run.

The idea is to allow to set a timeout (close to the reverse proxy one) so the process won't continue to run when the underlying http request is already terminated.

@azarz
Copy link
Member

azarz commented Dec 18, 2024

Thanks for the PR!
The only thing missing is a mention of the change in the changelog (https://github.com/IGNF/road2/blob/develop/changelog.md)
e.g.

## 2.2.8
ADDED:
- Valhalla: allow to configure a timeout on valhalla_service exec

@tetram
Copy link
Contributor Author

tetram commented Dec 18, 2024

Added the changelog part.
Feels strange to "define" the version as a contributor though ;)

@azarz azarz merged commit fe06e85 into IGNF:develop Dec 18, 2024
3 checks passed
azarz added a commit that referenced this pull request Dec 18, 2024
* Merge doc/translate in develop (#107)

* Test commit

* test commit

* test commit IDE

* First draft on english documentation

* Drafting the english doc

* second draft of doc

* Adding modifications from fr develop doc

* corrections de coquilles sur les liens

* corrections de coquilles sur les liens

* update coquilles liens

* test commit

* test commit IDE

* First draft on english documentation

* second draft of doc

* Adding modifications from fr develop doc

* update coquilles liens

* draft: main readme in english

* fix: main readme test

* fix typo test

* fix : finish rebase

* fix typo and switch to default french

* fix readme for introduction

---------

Co-authored-by: JRS <[email protected]>

* feat: handle exec maxBuffer size with environment variable

* feat: update changelog

* Changelog.md

* Bump version in package.json

* feat(valhalla): allow to configure exec timeout (#111)

* feat(valhalla): allow to configure exec timeout

* doc: add exec_tiemout description

* doc: update changelog

* Bump package.json

---------

Co-authored-by: lgrd <[email protected]>
Co-authored-by: JRS <[email protected]>
Co-authored-by: Matthieu Proboeuf <[email protected]>
Co-authored-by: Aurelien <[email protected]>
@azarz
Copy link
Member

azarz commented Dec 19, 2024

@tetram l'image docker embarquant le changement est publiée !
ghcr.io/ignf/road2:2.2.8

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

Successfully merging this pull request may close these issues.

2 participants