Skip to content

Commit

Permalink
Update MatchServer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cadencjk authored Nov 5, 2023
1 parent fde6131 commit 36244ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Match/src/MatchServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const rabbitMQserver = async () => {
connection = await amqp.connect(env.RABBITMQ_URL);
break;
} catch (error) {
logger.error(`Connection attempt ${i + 1} of 10 to RabbitMQ server: ${env.RABBITMQ_URL} failed`);
logger.error(`Connection attempt ${i + 1} of ${MAX_CONNECTION_ATTEMPTS} to RabbitMQ: ${env.RABBITMQ_URL} failed`);
await new Promise(resolve => setTimeout(resolve, CONNECTION_INTERVAL));
}
}
Expand Down

0 comments on commit 36244ec

Please sign in to comment.