omq 0.15.4 → 0.15.5
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -1
- data/README.md +1 -1
- data/lib/omq/options.rb +1 -1
- data/lib/omq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3c8e182cc758212708988bb4c88a7d374c63f06053e3be829c3a98620e23450
|
|
4
|
+
data.tar.gz: da1bdea2c47ec1c0a8e5e15d0b4ea69c9af642cd7fc67eae4b0931209314eac3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d56451299b8e3cfc500ea145826d8e1bc251edf814dc0e4fea6846428ff546bd3f7f66005e4c41b55d9b4b54c6e536f62619de6086311cdd538a16080e2802e
|
|
7
|
+
data.tar.gz: 1f5b9061e5eae37357c4d6e1dc828bac2778f68ba6a10072faecc4d049b9517e2044b66bc4771b1a16dc38717583e7689cb74b9e653b0df15171e0723bd1150a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.5 — 2026-04-08
|
|
4
|
+
|
|
5
|
+
- **`max_message_size` now defaults to `nil` (unlimited)** — previous
|
|
6
|
+
default of 1 MiB moved into omq-cli.
|
|
7
|
+
- **Benchmark suite: calibration-driven measurement.** Each cell auto-sizes
|
|
8
|
+
`n` from a prime burst + doubling warmup, then runs `ROUNDS=3` timed
|
|
9
|
+
rounds of `ROUND_DURATION=1.0 s` (override via `OMQ_BENCH_TARGET`) and
|
|
10
|
+
reports the fastest. Full suite runs in ~3 min.
|
|
11
|
+
- **Benchmark suite: dropped `curve` transport and the `pair` /
|
|
12
|
+
`dealer_dealer` pattern scripts from the default loop.** Files stay in
|
|
13
|
+
place for ad-hoc runs.
|
|
14
|
+
- **`bench/push_pull/omq.rb`** now runs `peer_counts: [1, 3]`.
|
|
15
|
+
- **`bench/report.rb --update-readme`** regenerates the PUSH/PULL and
|
|
16
|
+
REQ/REP tables in `bench/README.md` from the latest run in
|
|
17
|
+
`results.jsonl`, between `<!-- BEGIN … -->` / `<!-- END … -->` markers.
|
|
18
|
+
|
|
3
19
|
## 0.15.4 — 2026-04-08
|
|
4
20
|
|
|
5
21
|
- **Lazy routing initialization** — the routing strategy is now created on
|
|
@@ -15,7 +31,7 @@
|
|
|
15
31
|
of an unbounded queue, preventing memory growth when verbose monitoring
|
|
16
32
|
can't keep up with message rate.
|
|
17
33
|
|
|
18
|
-
|
|
34
|
+
## 0.15.3 — 2026-04-08
|
|
19
35
|
|
|
20
36
|
- **Auto-freeze on bind/connect** — `#bind` and `#connect` now call
|
|
21
37
|
`OMQ.freeze_for_ractors!` automatically, freezing `CONNECTION_LOST`,
|
data/README.md
CHANGED
|
@@ -147,7 +147,7 @@ end
|
|
|
147
147
|
|
|
148
148
|
## Socket Types
|
|
149
149
|
|
|
150
|
-
All sockets are thread-safe. Default HWM is 1000 messages per socket.
|
|
150
|
+
All sockets are thread-safe. Default HWM is 1000 messages per socket. `max_message_size` defaults to **`nil` (unlimited)** — set `socket.max_message_size = N` to cap inbound frames at `N` bytes; oversized frames cause the connection to be dropped before the body is read from the wire. Classes live under `OMQ::` (alias: `ØMQ`).
|
|
151
151
|
|
|
152
152
|
#### Standard (multipart messages)
|
|
153
153
|
|
data/lib/omq/options.rb
CHANGED
|
@@ -24,7 +24,7 @@ module OMQ
|
|
|
24
24
|
@heartbeat_interval = nil # seconds, nil = disabled
|
|
25
25
|
@heartbeat_ttl = nil # seconds, nil = use heartbeat_interval
|
|
26
26
|
@heartbeat_timeout = nil # seconds, nil = use heartbeat_interval
|
|
27
|
-
@max_message_size =
|
|
27
|
+
@max_message_size = nil # bytes, nil = unlimited
|
|
28
28
|
@conflate = false
|
|
29
29
|
@sndbuf = nil # bytes, nil = OS default
|
|
30
30
|
@rcvbuf = nil # bytes, nil = OS default
|
data/lib/omq/version.rb
CHANGED