Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use channels to process ready tasks (#25)
This introduces a trigger which will notify a channel when tasks are inserted or updated in a "pending" state. Workers now listen on this channel and if their queue is named as the one the notification is for begin processing the next task. Because channel notifications can fail, we retain the polling mechanism only now it's set to a default polling interval of one minute. This can be configured to be shorter or longer as well. Closes #19
- Loading branch information