…ard Logger levels (Logger::DEBUG ... Logger::FATAL).
…troducing proper push support for agents.
Conflicts: lib/nanite/amqp.rb lib/nanite/util.rb
nil.to_i returns 0. 0 || 20 => 0. Also added checking that the given value is an integer.
…render and it's was rather annoying to locate this option :)
…ages than requests to other agents.
… be seen in the redis library and trying to catch it will cause errors.
…rted, and a mapper proxy has been set up. Allows for more convenient calling of Nanite.request from code running inside an agent.
…cannot be found; makes troubleshooting simpler. Redirect uptime stderr to null; prevent random output from appearing in agent process's stderr.
* 'master' of git://github.com/rightscale/nanite: Bump up minor version number for github gem Add log when agents send results back Fixed logging of requests when received by agents. Implement consistent strategy for logging. Fixed warn level logs. Conflicts: spec/mapper_spec.rb
Resyncing from ActiveSupport to not override an existing implementation and to give some provenance for the code.
Personal preference for sure.
…n another test.
…rogue agent or mapper with invalid credentials from hammering the server.
…sh bug when mapper is started with no callbacks specified.
…ut I have not tested every detail fully yet with Ruby 1.9.
* 'master' of git://github.com/peritor/nanite: Prepared the cluster for a more flexible state storage backend configuration. Added interrupt trap. Added simple spec for the Mapper class which now hands defined callbacks through to the cluster. Increased test coverage for some of the cluster code. Added support for a timeout callback, refactored some of the timeout code accordingly. Fixed some oddities in the logger which a) did something different in the code than the comment stated and b) caused the stack to freak. Rake default task is now to run specs. Added some more tests for handling requests. Fixed bug in JobWarden that would cause intermediate message sent from one agent to another to not be dispatched from the mapper, instead they were sent as normal results and the real result was discarded. Added some specs for dispatching intermediate handlers. Added support for single-argument handlers, since they're the ones used by agent-to-agent intermediate calls. Added support for register and unregister callbacks. Fixed failing tests.