docs(config): add interval and counter examples

This commit is contained in:
tiennm99 committed 2026-06-29 11:34:59 +07:00
1 parent 30660b95f5
commit afa710289c
4 files changed
+39 -4

No files matched your search

+3 -1
View File
@@ -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