Permalink
Switch branches/tags
Nothing to show
Commits on Feb 12, 2009
  1. Worker#get_work is no longer needed

    (our Worker#queue gets us this easy anyway)
    matthewrudy committed Feb 12, 2009
  2. a RudeWorker has a :queue method

      RudeWorker.queue.get
      RudeWorker.queue.set
      RudeWorker.new.queue.set
      RudeWorker.new.queue.get
    
    does what you expect
    matthewrudy committed Feb 12, 2009
  3. RudeQueue works with ActiveRecords

    (spec to ensure this is the case)
    matthewrudy committed Feb 12, 2009
  4. move to manual YAML dump and parse,

    because Serialize doesn't work
    matthewrudy committed Feb 12, 2009
  5. RudeQueue.backlog() counts all the unprocessed Queue items,

    RudeQueue.backlog(:some_queue) scopes that count the particular Queue
    matthewrudy committed Feb 12, 2009
  6. moving to version 2

    matthewrudy committed Feb 12, 2009
Commits on Jan 19, 2009
  1. add "fetch" to the README

    matthewrudy committed Jan 19, 2009
  2. redo the rdoc

    matthewrudy committed Jan 19, 2009
  3. add "fetch" functionality

    matthewrudy committed Jan 19, 2009
Commits on Aug 7, 2008
  1. RudeQueue.backlog("queue_name") returns a count of unprocessed items

    useful for monitoring...
    
    have Zabbix raise an alarm if your RudeQueue.backlog reaches > 100 or whatever value makes sense
    matthewrudy committed Aug 7, 2008
  2. update the rdoc

    matthewrudy committed Aug 7, 2008
  3. better documentation

    matthewrudy committed Aug 7, 2008
Commits on Jul 28, 2008
Commits on Jul 25, 2008
  1. move to Pessimistic locking

    return of the transaction!
    matthewrudy committed Jul 25, 2008
Commits on Jul 24, 2008
  1. refresh rdoc

    matthewrudy committed Jul 24, 2008
  2. Abstract the queue getting and locking in a :fetch_with_lock method.

    in a mo I'll allow multiple Lock types, with :pessimistic as the primary
    matthewrudy committed Jul 24, 2008
Commits on Jul 23, 2008
  1. Remove transactions

    - at the moment this causes us to have annoying Table locks
    matthewrudy committed Jul 23, 2008
Commits on Jul 18, 2008
  1. RudeQueue.get now tokenises, fetches, and marks items as processed in…

    …side a transaction
    
    (if an update_attribute or something fails, then the queue item will return to the queue)
    - this has the side effect of if there's a legitimate reason we can't grab record.data, that it'll keep on being retrieved and raising exceptions... but that should never happen
    matthewrudy committed Jul 18, 2008
Commits on Jul 17, 2008
  1. the rake queue:cleanup task was using ProcessQueue, rather than RudeQ…

    …ueue
    
    need to make this configurable also
    matthewrudy committed Jul 17, 2008
Commits on Jun 21, 2008
  1. fixed the gemspec

    matthewrudy committed Jun 21, 2008
  2. Added a .gemspec

    matthewrudy committed Jun 21, 2008