~eskil/gearmand/gearmand

Viewing all changes in revision 651.

  • Committer: eskil at yelp
  • Date: 2012-09-21 23:09:29 UTC
  • Revision ID: eskil@yelp.com-20120921230929-y7ybcyfjtokbsepa
Fixes sqlite3 queue replay to not loop.

The sqlite3 replay would call it's own insert on every row found,
this causes it to loop indefinitely if there's even 1 job in the queue.

This patch reintroduces the "old" add_fn argument by piggybacking
it with the server structure. Not sure that the intent was and how
the new C++ queues are supposed to handle this, so consider this a
patch, not The Right Solution.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: