shadok-ai 0.19.44 → 0.19.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/index.html +8 -6
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -4762,12 +4762,14 @@
|
|
|
4762
4762
|
}
|
|
4763
4763
|
// ── Poll guard (invariant 69) ─────────────────────────────────
|
|
4764
4764
|
// A periodic poll must be UNABLE to accumulate. A bare `fetch` in a timer has
|
|
4765
|
-
// no deadline
|
|
4766
|
-
// request
|
|
4767
|
-
//
|
|
4768
|
-
//
|
|
4769
|
-
//
|
|
4770
|
-
//
|
|
4765
|
+
// no deadline and no memory of the previous tick. Against an endpoint that
|
|
4766
|
+
// accepts a request and never answers, that fails in one of two ways. A fixed
|
|
4767
|
+
// interval (the usage poll) adds a request that never settles on every tick —
|
|
4768
|
+
// each one holding one of the half-dozen connections a browser opens to a
|
|
4769
|
+
// host, so a handful is enough to freeze the page's other requests to it. A
|
|
4770
|
+
// self-rescheduling loop (the channel reconciliation) awaits for ever and
|
|
4771
|
+
// simply STOPS: the agent list quietly ceases to update, with nothing on
|
|
4772
|
+
// screen to say so.
|
|
4771
4773
|
//
|
|
4772
4774
|
// Two halves, and each is needed. The deadline frees the socket; without the
|
|
4773
4775
|
// in-flight guard there is still one stuck request per tick until it fires.
|