Page MenuHomeFeedback Tracker

Trigger condition check interval is not linear
New, NormalPublic

Description

Trying to optimize load I tried to prolong intervals between trigger checks to 30-60 seconds, but, I actually received an opposite result, trigger checks started to run faster. My findings are:
Trigger intervals x in range [0, 10] -> 1:1 ratio -> check every x seconds
Trigger intervals x in range (10,600] -> 1:0.1-0.01 ratio -> check every x/10-x/100 seconds with very non-regular timing (for example, if set to 600s, the check condition is done in range of 57-63 seconds; if set to 11s, it seems to be running in ~100ms interval).

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Engine
Steps To Reproduce
  • Create any trigger
  • Modify "Condition" field to the following
diag_log "Check";
false;
  • Set interval to 5 seconds
  • Run and see in the rpt that Check is printed precisely in 5s intervals
  • Set interval to 11 seconds
  • Run and see in the rpt that Check is spammed about ~60 times per second

Event Timeline

jarni created this task.Sep 26 2022, 10:44 AM

Good find, scripted interval works fine, it is EDEN that is broken

This comment was removed by Tenshi.
Tenshi added a subscriber: Tenshi.Oct 21 2022, 1:42 PM