Skip to content

Commit 97e2899

Browse files
committed
Merge branch '25-fails-to-start-with-managed-redis' into 'master'
fix: add configuration property that allows disabling setting of... See merge request videocore/encore!154
2 parents f1a7538 + 68f6fd7 commit 97e2899

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

encore-common/src/main/kotlin/se/svt/oss/encore/RedisConfiguration.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ import se.svt.oss.mediaanalyzer.file.VideoFile
4343
SegmentProgressEvent::class,
4444
QueueItem::class
4545
)
46-
@EnableRedisRepositories(enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP)
46+
@EnableRedisRepositories(
47+
enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP,
48+
keyspaceNotificationsConfigParameter = "#{\${redis.keyspace.disable-config-notifications:false} ? '' : 'Ex'}"
49+
)
4750
class RedisConfiguration {
4851

4952
@Bean

0 commit comments

Comments
 (0)