🔧 Changes to support BullMQ on the service layer
1. Removed socket connection from context 2. Added Redux middleware to persist socket connection 3. Removed amqplib and RabbitMQ support 4. Removed RabbitMQ from docker-compose configuration 5. Removed a proxy route to IMS from the facade 6. Refactored file actions to support the new way of socket event emitting and listening
This commit is contained in:
@@ -57,3 +57,7 @@ export const AIRDCPP_RESULT_DOWNLOAD_INITIATED =
|
||||
"AIRDCPP_RESULT_DOWNLOAD_INITIATED";
|
||||
export const AIRDCPP_BUNDLES_FETCHED = "AIRDCPP_BUNDLES_FETCHED";
|
||||
export const AIRDCPP_DOWNLOAD_PROGRESS_TICK = "AIRDCPP_DOWNLOAD_PROGRESS_TICK";
|
||||
|
||||
// LIBRARY SOCKET ENDPOINT
|
||||
export const LS_IMPORT = "LS_IMPORT";
|
||||
export const LS_COVER_EXTRACTED = "LS_COVER_EXTRACTED";
|
||||
|
||||
@@ -37,8 +37,8 @@ export const IMPORT_SERVICE_BASE_URI = hostURIBuilder({
|
||||
});
|
||||
|
||||
export const SOCKET_BASE_URI = hostURIBuilder({
|
||||
protocol: "ws",
|
||||
protocol: "http",
|
||||
host: process.env.DOCKER_HOST || "localhost",
|
||||
port: "3001",
|
||||
apiPath: ``,
|
||||
apiPath: `/`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user