Skip to content

Commit 98316e1

Browse files
committed
Updated maxwait set API and swapped deadline and tardy handlers
1 parent cb34ab0 commit 98316e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

blog/2025-10-14-decentralized-consistency.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,14 @@ reactor AutomaticEmergencyBraking {
176176
177177
self->n_invocs++;
178178
if (self->n_invocs % 2) {
179-
lf_set_maxwait(0);
179+
lf_set_fed_maxwait(0);
180180
} else {
181-
lf_set_maxwait(FOREVER);
181+
lf_set_fed_maxwait(FOREVER);
182182
}
183-
=} deadline(100ms) {=
184-
printf("AEB deadline violated\n");
185183
=} tardy {=
186184
printf("STP violation on AEB\n");
185+
=} deadline(100ms) {=
186+
printf("AEB deadline violated\n");
187187
=}
188188
189189
federated reactor {

0 commit comments

Comments
 (0)