From 68f6fd72f067d70254ab2897a2c7ba39244ef238 Mon Sep 17 00:00:00 2001 From: "Finn Hermansson (fihe02)" Date: Mon, 2 Sep 2024 11:07:31 +0000 Subject: [PATCH] fix: add configuration property that allows disabling setting of... --- .../src/main/kotlin/se/svt/oss/encore/RedisConfiguration.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/encore-common/src/main/kotlin/se/svt/oss/encore/RedisConfiguration.kt b/encore-common/src/main/kotlin/se/svt/oss/encore/RedisConfiguration.kt index d48ddbd..fb2a70e 100644 --- a/encore-common/src/main/kotlin/se/svt/oss/encore/RedisConfiguration.kt +++ b/encore-common/src/main/kotlin/se/svt/oss/encore/RedisConfiguration.kt @@ -43,7 +43,10 @@ import se.svt.oss.mediaanalyzer.file.VideoFile SegmentProgressEvent::class, QueueItem::class ) -@EnableRedisRepositories(enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP) +@EnableRedisRepositories( + enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP, + keyspaceNotificationsConfigParameter = "#{\${redis.keyspace.disable-config-notifications:false} ? '' : 'Ex'}" +) class RedisConfiguration { @Bean