simplify stipend backoff guard to single Expr, add debug chat lines to diagnose looping
Some checks failed
/ test (push) Failing after 22s

This commit is contained in:
Erik 2026-04-06 14:11:02 +02:00
parent edb5de94a0
commit 1ac576b5ef
2 changed files with 58 additions and 37 deletions

View file

@ -11,7 +11,7 @@ n
n
n
n
225
226
i
1
i
@ -2850,6 +2850,43 @@ service_decide
i
2
i
8
TABLE
2
K
V
n
n
1
i
26
TABLE
2
k
v
n
n
1
s
e
s
getqueststatus[`stipendtimer_0812`]==1
TABLE
2
k
v
n
n
1
s
e
s
\/a [stipend-debug] decide: clockExists=+testvar[stipendBackoffClock]+\, elapsed=+iif[testvar[stipendBackoffClock],stopwatchelapsedseconds[getvar[stipendBackoffClock]],`none`]+\, backoff=+getvar[stipendBackoffSeconds]+\, guard=+isfalse[iif[testvar[stipendBackoffClock],stopwatchelapsedseconds[getvar[stipendBackoffClock]]<getvar[stipendBackoffSeconds],0]]
s
service_decide
i
2
i
1
TABLE
2
@ -2872,24 +2909,6 @@ e
s
getqueststatus[`stipendtimer_0812`]==1
i
21
TABLE
2
K
V
n
n
1
i
2
TABLE
2
K
V
n
n
2
i
26
TABLE
2
@ -2901,20 +2920,7 @@ n
s
e
s
testvar[stipendBackoffClock]
i
26
TABLE
2
k
v
n
n
1
s
e
s
stopwatchelapsedseconds[getvar[stipendBackoffClock]]<getvar[stipendBackoffSeconds]
isfalse[iif[testvar[stipendBackoffClock], stopwatchelapsedseconds[getvar[stipendBackoffClock]]<getvar[stipendBackoffSeconds], 0]]
s
service_stipend
s
@ -3125,7 +3131,7 @@ K
V
n
n
7
8
i
2
s
@ -3165,6 +3171,19 @@ e
s
stopwatchstart[getvar[stipendBackoffClock]]
i
8
TABLE
2
k
v
n
n
1
s
e
s
\/a [stipend-debug] clock created: exists=+testvar[stipendBackoffClock]+\, elapsed=+stopwatchelapsedseconds[getvar[stipendBackoffClock]]
i
7
TABLE
2