deployangel 0.1.40 → 0.1.41
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 +8 -0
- data/README.md +3 -2
- data/lib/deployangel/configuration.rb +4 -1
- data/lib/deployangel/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: 22f16a902fb53802309105722b669cc0be9e4a31c5938eb4aec2d99b8f0dab08
|
|
4
|
+
data.tar.gz: 6cdd96ff12a6e969afd80a23c0992c1a3139242ec3c3e9ec0c69e1b85309510a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c38e4ab182cc8d3c657aeb4f6cb20e418223df54ba1faf515def863f3800035e58ad2a352dc67327f4bdbd6cb05a7a1f37f935669d49835e4fd8a77fa4a8c423
|
|
7
|
+
data.tar.gz: 18772b1f3c0f5eb84463fb3191a0509392f6ec5c5503b95aa1409cbc14bfc80ade81db82f7cb4f36fce679293fa591aebb5fed9bf22802e6a0f2e4b0c5913cb3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.41 (2026-11-04)
|
|
4
|
+
|
|
5
|
+
- The agent keeps an hour of unsent minutes (60 payloads, up from 10) when
|
|
6
|
+
DeployAngel can't be reached, so an outage of up to an hour loses no
|
|
7
|
+
telemetry. A minute that is lost leaves a gap DeployAngel has to learn
|
|
8
|
+
the app's normal traffic around. Kept gzipped, a full hour adds under
|
|
9
|
+
1 MB at worst (`rake bench`). `config.max_queued_payloads` still sets it.
|
|
10
|
+
|
|
3
11
|
## 0.1.40 (2026-11-04)
|
|
4
12
|
|
|
5
13
|
- Rails apps get two checkpoints with nothing to add: `rails.mail.delivered`,
|
data/README.md
CHANGED
|
@@ -185,8 +185,9 @@ user data.
|
|
|
185
185
|
in-memory counters.
|
|
186
186
|
- Payloads are sent from a background thread, once a minute, with short
|
|
187
187
|
timeouts.
|
|
188
|
-
- When DeployAngel is unreachable, the buffer is bounded (
|
|
189
|
-
gzipped JSON) and the oldest are dropped. Your
|
|
188
|
+
- When DeployAngel is unreachable, the buffer is bounded (60 payloads, an hour,
|
|
189
|
+
kept as gzipped JSON: under 1 MB at worst) and the oldest are dropped. Your
|
|
190
|
+
app is never blocked or failed.
|
|
190
191
|
- Safe across forks (Puma cluster mode and similar), and the minute in progress
|
|
191
192
|
is flushed at shutdown.
|
|
192
193
|
|
|
@@ -24,7 +24,10 @@ module DeployAngel
|
|
|
24
24
|
@flush_interval = 60
|
|
25
25
|
@open_timeout = 2
|
|
26
26
|
@read_timeout = 5
|
|
27
|
-
|
|
27
|
+
# An hour of minutes, gzipped (about 1 MB at worst), so an hour when
|
|
28
|
+
# DeployAngel can't be reached loses nothing. A lost minute leaves a
|
|
29
|
+
# gap the cloud learns the app's normal traffic around.
|
|
30
|
+
@max_queued_payloads = 60
|
|
28
31
|
@max_routes = 100
|
|
29
32
|
@logger = Logger.new($stderr, level: Logger::WARN, progname: "deployangel")
|
|
30
33
|
@file_digests = parse_boolean(env["DEPLOYANGEL_FILE_DIGESTS"]) != false
|
data/lib/deployangel/version.rb
CHANGED