aws-swf
aws-swf copied to clipboard
Poller stops polling after long idle
I noticed that after long idle of a few hours, both activity worker and decider stop processing requests. The requests are submitted to SWF, but they aren't processed. I was able to reproduce this repeatedly. No errors occur on the client, just nothing is being processed.
Did you get a reply/found a solution for above question? I am also facing this problem but haven't found a solution as yet. Thanks.
hmm... maybe missing an error signal during the "pollForActivityTask" call ?
If an error occurs during the call, the poller emits a "error" event, but will stop polling. https://github.com/neyric/aws-swf/blob/master/lib/poller.js#L103
Maybe you could try to log the error, and re-poll anyway ?