-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(queues): continue processing after hard error in handler (#11423)
There was an issue with the queue implementation where processing would stop when encountering a hard error in the handler function. The changes in the code fix this problem. Now, the handler function is called using pcall to catch any errors that occur. If a hard error occurs, the error is logged but the processing of the remaining entries in the queue continues.
- Loading branch information
1 parent
b00c73e
commit ee2a9c9
Showing
3 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee2a9c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel Build
Docker image available
kong/kong:ee2a9c9a58f1e56bae9b8bace900f3635196db55
Artifacts available https://github.com/Kong/kong/actions/runs/5948286344