4139: Improve scheduling of Node Manager polls.
authorBrett Smith <brett@curoverse.com>
Tue, 21 Oct 2014 18:31:44 +0000 (14:31 -0400)
committerBrett Smith <brett@curoverse.com>
Tue, 21 Oct 2014 18:33:03 +0000 (14:33 -0400)
commit9362030c75c09e363f95dcf742f79570107928d1
tree4150e57fe65360cb623e6b73a2de44e783a5d91f
parent4fb27993c2989648fab6fa29e2073a65b395379d
4139: Improve scheduling of Node Manager polls.

* Catch all exceptions, so that we keep polling no matter what
  happens.  Use CLIENT_ERRORS as a hint about how much logging we
  need.
* Make the next poll time calculation a little less stateful and
  easier to follow.
* Add tests for poll scheduling.
services/nodemanager/arvnodeman/clientactor.py
services/nodemanager/tests/test_clientactor.py