Closed ewilde closed 4 years ago
Set X-Duration-Seconds header when original function call exceeds timeout.
Fixes #77
Signed-off-by: Edward Wilde ewilde@gmail.com
Tested on Mac OS with docker swarm
a
Logs from callback function
2019/12/09 02:56:41 stderr: 2019/12/09 02:56:41 Status:[502], time:[], body:
2019/12/09 03:23:20 Status:[502], time:[10.024013], body:
git commit -s
Thanks
FYI https://github.com/openfaas/nats-queue-worker/releases/tag/0.9.0
Set X-Duration-Seconds header when original function call exceeds timeout.
Fixes #77
Signed-off-by: Edward Wilde ewilde@gmail.com
Description
Motivation and Context
How Has This Been Tested?
Tested on Mac OS with docker swarm
a
with that sleeps longer than timeoutBefore change
Logs from callback function
After change
Logs from callback function
Types of changes
Checklist:
git commit -s