Possibility to change listener & openfaas timeout as an app developer #99
jonas-martinez
started this conversation in
General
Replies: 0 comments 8 replies
|
@lenra-io/devs |
2 replies
|
@lenra-io/devs
The second way is to set the timeout on Finch :
|
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently there is a 5 or 10 seconds timeout on listeners. This can be a problem because some apps might do some time expansive listeners and trigger this timeout.
We also do not want to give too much time for the listeners because they might consume a lot of time because of an infinite loop.
It could be a good idea to let the developer choose what timeout he wants to give to the listeners based on his app. If it is a basic app with no time consuming tasks, he might choose a 1 or 2 sec timeout. If the app contains time consuming listeners he might choose 1 hour or more for the timeout.
All reactions