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