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 f6cd105 commit 1580536
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/Structures/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class Client extends EventEmitter {
}

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

const routing = new RoutedQueue(GatewayExchangeRoutes.DISPATCH, this.clientId, this.options.instanceName);
Expand Down

0 comments on commit 1580536

Please sign in to comment.