jsha/blocktogether — pull request #134 by jsha (2014-11-24 07:51:47+00:00)
Title: Better actions

Convert to Promises.
Replace janky self-recursion slow application of actions with a straightforward forEach.
Introduce a slowForEach, and use it when kicking off actions processing for a large number of users.
Don't allow processing of overlapping Actions runs for the same user.
Add graceful shutdowns.
Remove useless delayed Actions processing.

TODO: replace straightforward forEach with slowForEach.
TODO: Introduce upnode service and call it from queueActions.