mirror of
https://github.com/tiennm99/keepalive.git
synced 2026-10-15 14:16:38 +00:00
docs(config): add interval and counter examples
This commit is contained in:
1 parent
30660b95f5
commit
afa710289c
4 files changed
+39
-4
No files matched your search
+3
-1
@@ -1,4 +1,5 @@
|
||||
# Optional default interval shared by every service.
|
||||
# Examples: 30s, 5m, 1h, 1h30m, 1.5h, or 90 for 90 seconds.
|
||||
interval: 1m
|
||||
counter_key: counter
|
||||
|
||||
@@ -9,8 +10,9 @@ services:
|
||||
namespace: keepalive
|
||||
|
||||
- adapter: valkey
|
||||
# Example: this service runs every 30s while others use the root interval.
|
||||
# Example: this service overrides root interval and counter_key.
|
||||
interval: 30s
|
||||
counter_key: valkey-counter
|
||||
config:
|
||||
url: valkey://default@valkey-a.example.com:6379
|
||||
|
||||
|
||||
Reference in new issue
Block a user