removed apply_aggregation check [aggregator cannot be ready if apply_aggregation is False]
This commit is contained in:
1 parent
7a05d8f095
commit
a65553e13a
1 file changed
-5
@@ -51,12 +51,7 @@ def calc_aggregate(results, data, aggregator):
|
||||
|
||||
|
||||
def calc_aggregation_ready(results, aggregator):
|
||||
apply_aggregation = results.get("apply_aggregation", False)
|
||||
if not apply_aggregation:
|
||||
return False
|
||||
|
||||
aggregation_max = results.get("aggregation_max")
|
||||
|
||||
if not aggregator.is_ready(aggregation_max):
|
||||
return False
|
||||
|
||||
|
||||
Reference in new issue
Block a user