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 |
Beta Was this translation helpful? Give feedback.
2 replies
-
@lenra-io/devs
The second way is to set the timeout on Finch :
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions