Change properties in RedisServerEvents.RedisIndex from const to static

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?

We didn’t expect them to be changed and const fields are more performant than static fields, but I’ve changed them to static in this commit, this change is available from v4.5.5+ that’s now available on MyGet.

Cool, thanks :thumbsup: