Skip to content

Commit

Permalink
fix(startup): Revert large sharding
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi committed Mar 30, 2020
1 parent dc5eea2 commit 43f5ad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/framework/services/RabbitMq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ export class RabbitMqService extends IMService {
return;
}

const startupSuffix = this.client.shardCount > BOT_SHARDING ? `-${this.client.shardId % BOT_SHARDING}` : '';
// const startupSuffix = this.client.shardCount > BOT_SHARDING ? `-${this.client.shardId % BOT_SHARDING}` : '';
const startupSuffix = '';
this.qNameStartup = `shard-${this.client.instance}-start${startupSuffix}`;

this.channelStartup = await this.conn.createChannel();
Expand Down

0 comments on commit 43f5ad9

Please sign in to comment.