Question for Mastodon Admins: are you using the `REDIS_NAMESPACE` configuration variable?
-
Question for Mastodon Admins: are you using the `REDIS_NAMESPACE` configuration variable?
If yes, can you reply and explain why you are using it?We will need to drop support for it, as Sidekiq no longer supports it, and I want to be certain we understand every usage to prepare a migration guide.
-
Лафиэль Элентариreplied to Renaud Chaput on last edited by
@renchap
I'm using this variable now because I used to use one Redis database for multiple services -
It's probably a bad idea to run multiple systems in the one Redis instance, especially if they use Redis Pub/Sub at all, to quote the documentation:
> Pub/Sub has no relation to the key space. [...] Publishing on db 10, will be heard by a subscriber on db 1.
Redis Pub/Sub
How to use pub/sub channels in Redis
(redis.io)
I'd strongly encourage migrating away from that as soon as you can.
cc @renchap
-
@thisismissem @admin @renchap
I now have a separate Redis database in use, but the `REDIS_NAMESPACE` variable is still in use. -
-
@thisismissem @admin @renchap
I would also like to figure out how to delete this variable when saving data. -