-
-
src/Lunr/Spawn/ResqueJobDispatcher.php (Diff revision 1) We didn't really care about errors in the single queue case, so there is not really a reason to do so in the multi queue one either. Just append valid queues to $this->queue instead of $error.
-
src/Lunr/Spawn/Tests/ResqueJobDispatcherTest.php (Diff revision 1) If you extend LunrBaseTest you have to rename those.
[Spawn] Supporting multiple queues in the job dispatcher
Review Request #98 — Created June 4, 2013 and submitted
Information | |
---|---|
dinos | |
Lunr | |
dinostheo:ResqueJobDispatcher | |
Reviewers | |
lunr | |
With the current implementation of the job dispatcher you can add one job in one queue. This patch allows the same Job to be added in multiple queues.
unit tests
Change Summary:
when you set a queue it does it in an empty variable instead of appending the new to the old.
Diff: |
Revision 3 (+260 -209) |
---|