Skip to content

Commit

Permalink
fix: add missing thread kill which backs up memory (#125)
Browse files Browse the repository at this point in the history
* feat: fetch new executor-base version

* fix: add missing thread kill which backs up memory
  • Loading branch information
pritamstyz4ever authored Jul 18, 2021
1 parent 2e3eb47 commit 2c5eeef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions receiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ const onRetryMessage = async data => {
}
}
channelWrapper.ack(data);
thread.kill();
})
.on('error', async error => {
if (retryCount >= messageReprocessLimit) {
Expand Down

0 comments on commit 2c5eeef

Please sign in to comment.