feat-sdk 0.3.0 → 0.3.1
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/README.md +2 -2
- data/lib/feat/client.rb +1 -1
- data/lib/feat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1763ee75c7a532be1d5231e465e65760d47da3d5d59339132a26472ce2155c1
|
|
4
|
+
data.tar.gz: 3cfb9801d98da9222c0b4fa4c65189c6373ee66912d88a7ef6f2a0682e52c56c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ae68666f5685a58096cae556877b18e14104f4110233153a144fdd547cd8afbb7550e2019e24c459b73538a0d85dd17da21beeab85934b7c3378fee2c249993
|
|
7
|
+
data.tar.gz: 8eff4fb31602a23122d59d07a4d689c26eb263af8f2b95e31f153dd3d2e0d3b740b801390a568f336bcb6274ffde833adcae73324342a6f671819f2c0c77e5d8
|
data/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Use a **server** API key (`feat_sdk_...`).
|
|
|
55
55
|
connection and applies each new datafile the instant it changes. Updates are
|
|
56
56
|
version-ordered (an older or equal datafile is never adopted) and guarded by a
|
|
57
57
|
mutex shared with the evaluator.
|
|
58
|
-
- Keeps a slow background poll (every
|
|
58
|
+
- Keeps a slow background poll (every 10 minutes by default) as a safety net.
|
|
59
59
|
ETag-aware via `If-None-Match`. If the stream drops, it reconnects with
|
|
60
60
|
exponential backoff while the poll keeps the datafile fresh.
|
|
61
61
|
- Evaluation runs in-process: no per-flag network call.
|
|
@@ -73,7 +73,7 @@ client = Feat::Client.new(
|
|
|
73
73
|
)
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
When streaming is on, `safety_poll_interval:` (default
|
|
76
|
+
When streaming is on, `safety_poll_interval:` (default 600 seconds) controls the
|
|
77
77
|
backstop poll cadence.
|
|
78
78
|
|
|
79
79
|
## License
|
data/lib/feat/client.rb
CHANGED
|
@@ -19,7 +19,7 @@ module Feat
|
|
|
19
19
|
DEFAULT_POLL_INTERVAL = 30.0
|
|
20
20
|
# When streaming carries updates, the poll is a backstop only and runs
|
|
21
21
|
# far less often.
|
|
22
|
-
DEFAULT_SAFETY_POLL_INTERVAL =
|
|
22
|
+
DEFAULT_SAFETY_POLL_INTERVAL = 600.0
|
|
23
23
|
MIN_POLL_INTERVAL = 5.0
|
|
24
24
|
MAX_DATAFILE_BYTES = 10 * 1024 * 1024
|
|
25
25
|
OPEN_TIMEOUT_SECONDS = 3
|
data/lib/feat/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: feat-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- feat HQ
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Server-side Ruby SDK for feat. Polls a per-environment datafile and evaluates
|
|
14
14
|
flags locally with no per-flag network call. Stdlib only.
|