diff --git a/neo/master/app.py b/neo/master/app.py index 5e50d11a2affdd7b24b51695b8725ff4599d6e98..1de3ec6d32f4f160d96988e817cae2fe80a72ab2 100644 --- a/neo/master/app.py +++ b/neo/master/app.py @@ -183,8 +183,7 @@ class Application(object): if current_time >= t + 1: t = current_time for node in self.nm.getMasterList(): - if node.isTemporarilyDown() \ - and node.getLastStateChange() + \ + if not node.isRunning() and node.getLastStateChange() + \ expiration < current_time: logging.info('%s is down' % (node, )) node.setDown()