@mark1russell7/machines 0.3.10 → 0.3.11
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/README.md +4 -0
- package/build/index.js +9 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,6 +95,10 @@ A change to the version of a system changes its sources too. Each fact of the do
|
|
|
95
95
|
|
|
96
96
|
In this repository, a snapshot of the predictions of the cells (`packages/cells/src/__snapshots__/predictions.json`) shows each prediction that a change to a document moves.
|
|
97
97
|
|
|
98
|
+
### 0.3.11
|
|
99
|
+
|
|
100
|
+
- **The connect timer of PgBouncer can fire early.** libevent 2.1 counts a timeout from its cached time of the pass, not from the clock (event.c, `event_add_nolock` with `gettime` and `tv_cache`). Thus server_connect_timeout can fire up to one pass early, and its band has an early slack of 10 ms. In run 39160356281 the timer closed the socket at 127.998993 s, 1.007 ms before 128 s.
|
|
101
|
+
|
|
98
102
|
### 0.3.10
|
|
99
103
|
|
|
100
104
|
- **Supavisor 2.9.13, in transaction mode.** Two new documents, each from the Elixir source at the tag v2.9.13:
|
package/build/index.js
CHANGED
|
@@ -7824,6 +7824,10 @@ const PGBOUNCER_SERVER = machineSchema.parse({
|
|
|
7824
7824
|
ref: `${PB} src/janitor.c:558-570 the janitor closes a server in SV_LOGIN that is older than server_connect_timeout, from its launch: 'connect timeout'`,
|
|
7825
7825
|
rung: "implemented"
|
|
7826
7826
|
},
|
|
7827
|
+
{
|
|
7828
|
+
ref: "run 39160356281 of mark1russell7/systems: with server_connect_timeout 128 s, the connect timer closed the socket 127.998993 s after its SYN in 1 of 11 runs, 1.007 ms before 128 s. libevent 2.1 counts a timeout from its cached time of the pass (event.c event_add_nolock, gettime with tv_cache)",
|
|
7829
|
+
rung: "observed"
|
|
7830
|
+
},
|
|
7827
7831
|
{
|
|
7828
7832
|
ref: `${PB} src/objects.c:1385-1393, :1246-1248 a server in a login that closes marks the pool as failing, with the reason. A login that ends clears it`,
|
|
7829
7833
|
rung: "implemented"
|
|
@@ -8044,6 +8048,10 @@ const PGBOUNCER_SERVER = machineSchema.parse({
|
|
|
8044
8048
|
knob: "slack",
|
|
8045
8049
|
unit: "ms"
|
|
8046
8050
|
},
|
|
8051
|
+
early: {
|
|
8052
|
+
knob: "slack",
|
|
8053
|
+
unit: "ms"
|
|
8054
|
+
},
|
|
8047
8055
|
arms: ["enter:connecting"],
|
|
8048
8056
|
cancels: [
|
|
8049
8057
|
"socket.connect",
|
|
@@ -8051,7 +8059,7 @@ const PGBOUNCER_SERVER = machineSchema.parse({
|
|
|
8051
8059
|
"peer.rst"
|
|
8052
8060
|
],
|
|
8053
8061
|
fires: "timer.connect-timeout",
|
|
8054
|
-
note: "src/objects.c:1640-1641, src/sbuf.c:163-203: a timeout of libevent on the wait for EV_WRITE, in whole seconds. Which clock libevent reads is an assumption of this document: the monotonic one"
|
|
8062
|
+
note: "src/objects.c:1640-1641, src/sbuf.c:163-203: a timeout of libevent on the wait for EV_WRITE, in whole seconds. Which clock libevent reads is an assumption of this document: the monotonic one. libevent counts the timeout from the time that it caches for the callbacks of one pass of its loop, thus from up to one pass before the connect: the timer can fire up to that pass early"
|
|
8055
8063
|
},
|
|
8056
8064
|
login_timeout: {
|
|
8057
8065
|
duration: {
|