Debugging overload detection
This commit is contained in:
parent
d2b9ecc509
commit
33c0792a80
@ -75,6 +75,8 @@ def threshold(threshold, utilization):
|
||||
:return: The decision of the algorithm.
|
||||
:rtype: bool
|
||||
"""
|
||||
log.debug('Utilization: ' + str(utilization[-1]))
|
||||
log.debug('Threshold: ' + str(threshold))
|
||||
if utilization:
|
||||
return utilization[-1] > threshold
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user