Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 2a7e938

Browse files
change const to let
1 parent 126ae50 commit 2a7e938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ async function processUpdate (message) {
388388
logger.error(`Error: ${JSON.stringify(e)}`)
389389

390390
const retryCountIdentifier = `${config.KAFKA_GROUP_ID.split(' ').join('_')}_retry_count`
391-
const currentRetryCount = parseInt(_.get(message.payload, retryCountIdentifier, 1), 10)
391+
let currentRetryCount = parseInt(_.get(message.payload, retryCountIdentifier, 1), 10)
392392
if (currentRetryCount <= config.MAX_RETRIES) {
393393
await new Promise((resolve) => {
394394
setTimeout(async () => {

0 commit comments

Comments
 (0)