Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix(rpc): this should be counts
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 authored Feb 23, 2024
1 parent 4c07547 commit a34f959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/kanao-cache/src/Structures/KanaoCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class KanaoCache extends EventEmitter {
this.logger.info(`Successfully bind queue ${queue} to exchange kanao-gateway with routing key ${routingKey.key}`);

// Used for Counts RPC
const rpc = new RoutedQueue(`${GatewayExchangeRoutes.REQUEST}.stats`, clientId, "cache-rpc");
const rpc = new RoutedQueue(`${GatewayExchangeRoutes.REQUEST}.counts`, clientId, "cache-rpc");
await channel.assertQueue(rpc.queue, { durable: false });
await channel.bindQueue(rpc.queue, RabbitMQ.GATEWAY_EXCHANGE, rpc.key);

Expand Down

0 comments on commit a34f959

Please sign in to comment.