Skip to content

Commit 476088a

Browse files
committed
add check_frequency to config
1 parent 2bb6a8a commit 476088a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

config.sample.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ listener: 127.0.0.1:8000
1212
escalation:
1313
enabled: true
1414
escalation_window: 3600 # one hour
15+
check_frequency: 20
1516
rooms:
1617
- "!abcdef:matrix.org"
1718
- "!ghijkl:matrix.org"

helmfile.d/config/matrixbot-alert.yaml.gotmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ config:
2222
escalation:
2323
enabled: false
2424
escalation_window: 0
25+
check_frequency: 20
2526
rooms:
2627
- {{ env "ALERT_ROOM_1" | quote }}

helmfile.d/config/matrixbot-escalation.yaml.gotmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ config:
2424
escalation:
2525
enabled: true
2626
escalation_window: {{ env "ESCALATION_WINDOW" }}
27+
check_frequency: 20
2728
rooms:
2829
- {{ env "ESCALATION_ROOM_1" | quote }}
2930
- {{ env "ESCALATION_ROOM_2" | quote }}

0 commit comments

Comments
 (0)