Skip to content

Commit e5a6fe1

Browse files
viveksynghalexellis
authored andcommitted
Add default timeout values for function
Signed-off-by: Vivek Singh <[email protected]>
1 parent 4152c91 commit e5a6fe1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/deployment/troubleshooting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ Default timeouts are configured at the HTTP level and must be set both on the ga
8989
9090
### Timeouts - Your function
9191

92+
Default `read_timeout` and `write_timeout` value for functions are 5 seconds (subject to change) and can be overridden using `read_timeout` and `write_timeout` environment variable for each function.
93+
9294
You can also enforce a hard-timeout for your function with the `hard_timeout` environmental variable.
9395

9496
For watchdog configuration see the [README](https://github.com/openfaas/faas/tree/master/watchdog).

0 commit comments

Comments
 (0)