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

Commit

Permalink
fix: try dont use prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Feb 23, 2024
1 parent df77eff commit 7438e33
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 @@ -35,7 +35,7 @@ export class KanaoCache extends EventEmitter {
}

public async setupAmqp(channel: Channel): Promise<void> {
await channel.prefetch(1);
// await channel.prefetch(1);
await channel.assertExchange(RabbitMQ.GATEWAY_QUEUE_SEND, "direct", { durable: true });
await channel.assertExchange("nezu-gateway.cache", "direct", { durable: true });
const { queue } = await channel.assertQueue("kanao-cache.receive", { durable: true });
Expand Down

0 comments on commit 7438e33

Please sign in to comment.