Add timeouts

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis 2017-09-25 11:22:59 +01:00
parent 0f695fecb0
commit c66972325d

View File

@ -8,6 +8,7 @@ Testing:
``` ```
$ docker build -t alexellis/gif-maker . $ docker build -t alexellis/gif-maker .
$ faas-cli deploy --fprocess="./entry.sh" \ $ faas-cli deploy --fprocess="./entry.sh" \
--env read_timeout=60 --env write_timeout=60 \
--image alexellis/gif-maker --name gif-maker --image alexellis/gif-maker --name gif-maker
# wait a little # wait a little