weird calculation for sleep time
Hi Hubert,
First of all, thank you for pg_terminator.
Next, to me, there is a weird behaviour :
If I have 2 rules :
- #1 (closed) with threshold set to 120 (2 minutes).
- #2 with threshold set to 14400 (4 hours).
Once last session involved by the rule #1 (closed) is completed. the sleep time could be set until 14400 (it depends of "rule_over_threshold").
So, If the sleep time set to 10800 seconds (3 hours) due to "rule_over_threshold" and a new session will match with the rule #1 (closed) then there will not action taken before this 3 hours.
I think it is a bit disturbing.
Regards Thomas
Edited by Thomas