From 0f8aa147fda88e42bd52d37ca4e419140a3da352 Mon Sep 17 00:00:00 2001 From: benrubson Date: Wed, 14 Sep 2016 12:20:34 +0200 Subject: [PATCH] solves issue 229 --- tcollector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcollector.py b/tcollector.py index 5b5053f0..b66c1e72 100755 --- a/tcollector.py +++ b/tcollector.py @@ -1311,7 +1311,7 @@ def check_children(options): for col in all_living_collectors(): now = int(time.time()) - if col.last_datapoint < (now - options.allowed_inactivity_time): + if ((col.interval == 0) and (col.last_datapoint < (now - options.allowed_inactivity_time))): # It's too old, kill it LOG.warning('Terminating collector %s after %d seconds of inactivity', col.name, now - col.last_datapoint)