Refactor internal Redis queues usages #160

Closed
opened 2022-07-05 01:39:01 +02:00 by blacklight · 0 comments
Owner

Created by: BlackLight

Some backends and plugins currently use Redis to synchronize messages to make sure that they can communicate to each other even if they live in different processes (e.g. main Platypush process and HTTP server).

However, some use the default Redis() constructor to initialize the queue object.

Replace the default constructor references with references to get_plugin('redis') to make sure that things work even if Redis is configured on another port or with user/password.

*Created by: BlackLight* Some backends and plugins currently use Redis to synchronize messages to make sure that they can communicate to each other even if they live in different processes (e.g. main Platypush process and HTTP server). However, some use the default `Redis()` constructor to initialize the queue object. Replace the default constructor references with references to `get_plugin('redis')` to make sure that things work even if Redis is configured on another port or with user/password.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: platypush/platypush#160
No description provided.