Skip to content

Commit ac43ea3

Browse files
authored
Change default webhook heartbeat period to 5 minutes (#93)
...as requested by the downstream consumers of this webhook
1 parent 1aec144 commit ac43ea3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/runtime-common/src/main/resources/reference.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ snowplow.defaults: {
1313

1414
webhook: {
1515
tags: {}
16-
heartbeat: "60 minutes"
16+
heartbeat: "5 minutes"
1717
}
1818

1919
telemetry: {

modules/runtime-common/src/test/scala/com/snowplowanalytics/snowplow/runtime/WebhookConfigSpec.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class WebhookConfigSpec extends Specification {
103103
val expected = Webhook.Config(
104104
endpoint = Some(Uri.unsafeFromString("http://example.com/xyz?abc=123")),
105105
tags = Map.empty,
106-
heartbeat = 60.minutes
106+
heartbeat = 5.minutes
107107
)
108108

109109
result.as[ConfigWrapper] must beRight { (w: ConfigWrapper) =>

0 commit comments

Comments
 (0)