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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e8adef48eb597e4b49551c9935dd0308a465ab3ad302de263ed47035293e15a
4
- data.tar.gz: 98928fa20dfe57fc11b8f99b56ec2f9c33010c023de4a78f0fdffb59cdd29e65
3
+ metadata.gz: 22f16a902fb53802309105722b669cc0be9e4a31c5938eb4aec2d99b8f0dab08
4
+ data.tar.gz: 6cdd96ff12a6e969afd80a23c0992c1a3139242ec3c3e9ec0c69e1b85309510a
5
5
  SHA512:
6
- metadata.gz: 37dd0621d760a588e12ea465902aefe678f6e9c171a15721d7ded7071af03e2e80996a8239e1f7fae4e7ca2583d647b73d403a3ef501d0dc4906499fae735c9c
7
- data.tar.gz: d581a5108ccc9bdb4e2c13747ce556c4857a14275939aa0756d05e518da03933b76189aea11269d87fe78c6b9e7faa879c8bc0cd7f989175eeee7b1350e42ff3
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 (10 payloads, kept as
189
- gzipped JSON) and the oldest are dropped. Your app is never blocked or failed.
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
- @max_queued_payloads = 10
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeployAngel
4
- VERSION = "0.1.40"
4
+ VERSION = "0.1.41"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployangel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.40
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Owens