Permalink
Commits on Nov 26, 2014
  1. Merge pull request #6 from loucash/use-round-robin-to-checkout-resources

    Use round robin to checkout resources
    committed Nov 26, 2014
Commits on Nov 25, 2014
  1. Update README

    loucash committed Nov 25, 2014
  2. Add dispatch_mechanism option

    loucash committed Nov 25, 2014
  3. Make #config{} private

    loucash committed Nov 25, 2014
Commits on Nov 14, 2014
Commits on Nov 13, 2014
  1. Bump to 1.0.1

    committed Nov 13, 2014
  2. Merge pull request #5 from loucash/unique-registered-names-of-workers

    Unique registered names of workers
    committed Nov 13, 2014
Commits on Nov 10, 2014
Commits on May 16, 2013
  1. Bumping to 1.0.0

    API is stable, code has been in production for a long time,
    seems rather bug free.
    committed May 16, 2013
Commits on Apr 2, 2013
Commits on Feb 26, 2013
  1. Fixing configuration typespec

    Also bumping to 0.1.2
    committed Feb 26, 2013
Commits on Oct 19, 2012
  1. Fixing build and deps

    Building can now be made with the makefile as it should.
    
    Tests include PropEr to run, but regular builds do not include
    PropEr as it's not needed for production use.
    committed Oct 19, 2012
Commits on Sep 6, 2012
  1. Added License

    committed Sep 6, 2012
Commits on Aug 18, 2012
  1. Fixing issue #3 - adding timeouts to checkout

    The default value for the checkout timeout is set to
    5000ms, the default OTP value -- there should be no change in
    behaviour between this version and the older ones, although it
    is now possible to add a timeout value if needed.
    committed Aug 18, 2012
Commits on Apr 20, 2012
  1. Make comment cleaner regarding intent

    People asked me what I meant by 'make sure this
    can survive stuff'. This comment was regarding relups
    and how I chose to input supervised modules in there.
    committed Apr 20, 2012
Commits on Apr 6, 2012
  1. Fixing test dispatcher. Woops.

    committed Apr 6, 2012
  2. Reverting to using now()

    This makes more sense if the same process runs many requests
    in a tight loop and risks asking more watchers
    committed Apr 6, 2012
Commits on Apr 3, 2012
  1. Fixing the doc for checkin calls.

    committed Apr 3, 2012
Commits on Apr 2, 2012
  1. Removing now/0 for os:timestamp/0

    Let's go for something that doesn't lock if we want to avoid
    central points of communication, shall we?
    committed Apr 2, 2012
  2. Adding parallel property-based tests

    Sadly the parallel tests require to lower the number of resources
    to one given the non-determinism of the default behaviour appears
    to conflict with the interleaving attempts of PropEr.
    
    Mocking the dispatch_id function of dispcount_watcher appeared
    to have little effect. The test is a best-effort for now;
    better than nothing, although not perfect.
    committed Apr 2, 2012
Commits on Apr 1, 2012
  1. Cleaned up PropEr statem tests

    committed Apr 1, 2012
  2. Basic statem property-based tests added

    These tests are for now incomplete but provide a base
    on which to build a more complete suite to make sure
    dispcount is hopefully rock-solid.
    committed Apr 1, 2012
  3. Fixing demo example in README

    Also clearing compile warnings in test dispatcher
    committed Apr 1, 2012
Commits on Mar 18, 2012
Commits on Mar 16, 2012
  1. Restart test added

    This test verifies that when a dispcount callback module
    crashes, it is restarted transparently.
    committed Mar 16, 2012
Commits on Feb 20, 2012
  1. Fixing the error checkout behaviour

    In the current version of the application, returning
    {error, Reason, NewState} from the checkout callback wouldn't
    reset the counter for this worker, effectively taking it offline.
    
    This fix makes it that every {error, Reason, NewState} call
    resets the counter and keeps the watcher alive.
    committed Feb 20, 2012
Commits on Feb 18, 2012
Commits on Feb 15, 2012
  1. damn them typoes

    committed Feb 15, 2012