Emelia Smith
Emelia Smith
I wouldn't recommend `kafka` for `MessageQueue`, as it's semantics are very different to those that exist in other "queue" systems.
You should also be able to fork https://github.com/dahlia/fedify-redis and implement the necessary parts to work with RabbitMQ via the aforementioned ampq driver above.
@oneiros I think this handles the Node.js / Streaming side of #26571 for redis sentinel mode. Resolved: @renchap I think the system specs are failing due to something in the...
The failure may also be due to the REDIS_NAMESPACE [override here](https://github.com/mastodon/mastodon/blob/d5f02adad716520b6b9014553bc730dcef5b2f50/lib/mastodon/redis_config.rb#L53): ``` ENV['REDIS_NAMESPACE'] = "mastodon_test#{ENV['TEST_ENV_NUMBER']}" if Rails.env.test? ``` I suspect that maybe we want this in the [`StreamingServerManager`](https://github.com/mastodon/mastodon/blob/8098d27f84028c226729c76f1ebdeadec881b1c5/spec/support/streaming_server_manager.rb) instead of...
Turns out ioredis **doesn't** support `keyPrefix` for pub/sub after all. Have opened https://github.com/redis/ioredis/issues/1910 and added code to transparently add and remove the redis keyPrefix for pub/sub commands.
> Do we really want to switch to `keyPrefix`? The fact that it works for some things but not others makes things particularly difficult to follow imho @ClearlyClaire I think...
I *knew* there was a reason why we didn't just use `REDIS_URL` exclusively.. there was this issue for the database connection handling about using both `DATABASE_URL` and `DB_PASS`, so we'd...
Have revised the namespacing to not use keyPrefix and instead have two helper methods.
@oneiros let me know if you need any changes here as you develop out the ruby side of things
@ShadowJonathan could this be mitigated to some degree by switching to libvips which is supported in Mastodon v4.3.0? (set `MASTODON_USE_LIBVIPS` to `true`, if you have libvips >= 8.13 available)