Conversation
Address various bugs and improve the `pop-queue` library. * **Configuration Validation:** - Add validation for `batchSize`, `parallelExecution`, `redisPipelining`, and `notificationConfig` in `config/config.js`. * **Error Handling and Logging:** - Add consistent error handling and logging using `winston` in `pop-queue/jobExecution.js`, `services/api.js`, and `services/job-failure.js`. * **Code Refactoring:** - Refactor redundant code in `pop-queue/jobManagement.js` to use functions from `pop-queue/db.js` and `pop-queue/redis.js`. * **Documentation Updates:** - Update `.github/wiki/Error-Handling.md` to reflect changes in error handling and logging. - Update `.github/wiki/Configuration.md` to reflect changes in configuration validation.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Address various bugs and improve the
pop-queuelibrary.Configuration Validation:
batchSize,parallelExecution,redisPipelining, andnotificationConfiginconfig/config.js.Error Handling and Logging:
winstoninpop-queue/jobExecution.js,services/api.js, andservices/job-failure.js.Code Refactoring:
pop-queue/jobManagement.jsto use functions frompop-queue/db.jsandpop-queue/redis.js.Documentation Updates:
.github/wiki/Error-Handling.mdto reflect changes in error handling and logging..github/wiki/Configuration.mdto reflect changes in configuration validation.