I have a requirement to use the same redis instance for multiple apps, which all use RedisServerEvents
.
The Topic
property on the RedisServerEvents
class is already static
, so I can use a different pub-sub channel name for each app, e.g:
RedisServerEvents.Topic = AppSettings.Get("serverEvents:redis:pubSubTopic");
But the properties on the RedisServerEvents.RedisIndex
are marked as const
, which will cause my apps to conflict with each other.
Is there any reason these can’t be changed to static
?