Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poller stops polling after long idle #21

Open
saverchenkov opened this issue Mar 7, 2014 · 2 comments
Open

Poller stops polling after long idle #21

saverchenkov opened this issue Mar 7, 2014 · 2 comments

Comments

@saverchenkov
Copy link

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.

@vguptapq
Copy link

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.

@ericabouaf
Copy link
Owner

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants