summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Add extra handling for worker departurekballou2014-10-21
| | | | | | | | * Remove worker form worker list _and_ processing list * If there was pending work in the processing list, send the waiting client a message about the failure (later improvement to send _more_ information about the failure)
* Handle terminate calls in pool workerskballou2014-10-21
| | | | | Before passing terminate off to the parent implementation, be sure to send a message to the scheduler about leaving the pool.
* Add `leave` to pool scheduler apikballou2014-10-21
|
* Fix supervisor children declarationkballou2014-10-21
| | | | | | | There is a subtle difference between worker and supervisor when declaring supervisor children which is the default shutdown timer [1]: http://elixir-lang.org/docs/stable/elixir/
* Add event manager and event notificationkballou2014-10-20
| | | | | | | | The PoolParty module was turned into an application that creates a generic genEvent server, passing it to the supervisor. The supervisor, in turn, distributes the genevent server to all child processes, etc. This allows all processes to send events to the manager for logging, etc.
* Add logging to pool partykballou2014-10-20
| | | | Add basic debug logging to the pool.
* Rename module: Poolparty -> PoolPartykballou2014-10-20
|
* PoolParty Scheduler, supervisor, and workerskballou2014-10-20
| | | | | Add PoolParty supervisor, scheduler, pool supervisor, and pool workers
* PoolParty: A work pool schedulerkballou2014-10-16