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

Commit

Permalink
fix: remove prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 authored Feb 23, 2024
1 parent a34f959 commit f6cd105
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion services/kanao-cache/src/Structures/KanaoCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export class KanaoCache extends EventEmitter {

public async setupAmqp(channel: Channel): Promise<void> {
await channel.assertExchange(RabbitMQ.GATEWAY_EXCHANGE, "topic", { durable: false });
await channel.prefetch(1);

// Used for receiving receive events from the gateway
const routingKey = new RoutedQueue(GatewayExchangeRoutes.RECEIVE, clientId, "cache");
Expand Down

0 comments on commit f6cd105

Please sign in to comment.