Commits on Jul 22, 2014
  1. @uwiger

    Merge pull request #20 from irccloud/master

    update meck version, for erlang 17+
    uwiger committed Jul 22, 2014
  2. @RJ

    update meck version, for erlang 17+

    RJ committed Jul 22, 2014
Commits on Mar 8, 2014
  1. @uwiger
Commits on Jan 6, 2014
  1. @uwiger
Commits on Jun 15, 2013
  1. @uwiger
Commits on Jun 14, 2013
  1. @uwiger

    added jobs_stateful_simple.erl

    uwiger committed Jun 14, 2013
  2. @uwiger

    stateful queue dispatch

    uwiger committed Jun 14, 2013
  3. @uwiger

    stateful producers

    uwiger committed Jun 14, 2013
  4. @uwiger
Commits on Jan 25, 2013
  1. @uwiger

    Fix max_time handling, which was horribly broken

    The max_time option basically hasn't worked, since
    (1) the only time timeouts were checked was when max_length was
        reached.
    (2) the timeout checkint in jobs_queue was faulty, since it used
        millisecond timestamps (from jobs_lib) rather than micro-
        second timestamps from jobs_server.
    uwiger committed Jan 25, 2013
  2. @uwiger

    skip deps when running eunit

    uwiger committed Jan 25, 2013
Commits on Jan 11, 2013
  1. @uwiger

    Merge pull request #18 from irccloud/master

    Updated README
    uwiger committed Jan 11, 2013
Commits on Jan 10, 2013
  1. @RJ
Commits on Dec 17, 2012
  1. @uwiger
Commits on Nov 26, 2012
  1. @uwiger
  2. @RJ

    Fix jobs:done/1 by sending pid of job owner

    Before this change, jobs that ran from the same process would never
    be marked "done" because the cast for the done msg never matched.
    
    Things would behave fine provided you spawned a new process for the
    duration of the job - calling done/1 didn't do anything, only the
    process monitor was correctly cleaning up finished jobs.
    RJ committed Nov 26, 2012
Commits on Nov 24, 2012
  1. @uwiger

    Merge pull request #14 from irccloud/master

    Add basic examples to main README
    uwiger committed Nov 24, 2012
  2. @RJ
Commits on Oct 15, 2012
  1. @uwiger

    Merge pull request #13 from opscode/kas/reject_crash

    Fixed crash when rejecting a job
    uwiger committed Oct 15, 2012
  2. Fixed crash when rejecting a job

    jobs_server would crash when queue_job rejected a job proposed
    for a given queue. The function returned the tuple {error, rejected}
    instead of the unmodified state record.
    Kevin Smith committed Oct 15, 2012
Commits on Sep 14, 2012
  1. @uwiger

    relabeled parse_trans

    uwiger committed Sep 14, 2012
Commits on Jul 9, 2012
  1. @uwiger

    labeled dependencies

    uwiger committed Jul 9, 2012
  2. @uwiger

    regenerated docs

    uwiger committed Jul 9, 2012
  3. @uwiger
Commits on May 25, 2012
  1. @uwiger

    more modular configuration

    uwiger committed May 26, 2012
Commits on Apr 15, 2012
  1. @uwiger
  2. @uwiger

    fix jobs_server:q_out(infinity,Q)

    uwiger committed Apr 15, 2012
  3. @uwiger

    Bug fixes around sharing named counters

    - Regulators can be defined as top-level queue options, and are
      automatically moved into the {regulators, [...]} option.
    - COUNTER_SAMPLE_INTERVAL is now infinity (rather than the arbitrary 2000)
    - if queue goes from empty to non-empty, check the queue immediately
    - always revisit queues when counters are returned. Previously, this
      only happened if the counter regulator was at Max, but with
      Incr > 1, this could mean that some jobs never get to execute.
    - When revisiting queues, first sort them on latest_dispatch, to get
      more fair distribution.
    
    - put an -ifdef(EQC) wrapper into the jobs_eqc_queue module
    uwiger committed Apr 15, 2012
Commits on Mar 12, 2012
  1. @uwiger

    Merge pull request #12 from jlouis/eqc-queue

    Eqc queue
    uwiger committed Mar 12, 2012
  2. @jlouis
  3. @jlouis

    Fix calculation of the oldest job.

    The oldest job is *always* the first element in the queue if present.
    So just look it up rather than trying to be smart here.
    jlouis committed Mar 12, 2012
  4. @jlouis

    Fix an error in jobs_queue:timedout/1.

    When timeouts happen, we search the wrong end of the queue. This
    change fixes it by search the dequeue end, which has the oldest
    elements. This makes timedout observations pass in the quickcheck
    test.
    jlouis committed Mar 12, 2012
  5. @jlouis

    Fix observation for timedout/1

    When considering the output of a timedout/1 observation, do not carry
    about the order, but only that we return the right amount of elements.
    Thus by sorting the output we make sure that we get the right kind of
    observation.
    jlouis committed Mar 12, 2012
  6. @jlouis
Commits on Mar 11, 2012
  1. @jlouis