Skip to content

Conversation

@uuuchit
Copy link
Owner

@uuuchit uuuchit commented Jan 15, 2025

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.

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.
@uuuchit uuuchit merged commit 272d7d0 into main Jan 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants