Disable KeepAlive on proxy (#21)

* Service lookup

* Disable KeepAlive to force RR for replias.

* set KeepAlive to 0

* Remove temporary file

* Support white and rename function

* Remove debug from node sample
This commit is contained in:
Alex Ellis
2017-03-21 08:39:36 +00:00
committed by GitHub
parent 9cf4376096
commit 2aeadfda1c
9 changed files with 201 additions and 119 deletions

View File

@ -6,11 +6,11 @@ ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /us
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .
RUN npm i
COPY handler.js .
COPY sendColor.js .
COPY sample_response.json .
RUN npm i
ENV fprocess="node handler.js"
CMD ["fwatchdog"]