dcramer / peated

https://peated.com
Apache License 2.0
64 stars 13 forks source link

Migrate to BullMQ #195

Closed dcramer closed 4 months ago

dcramer commented 4 months ago

Swap our broker to BullMQ (Redis) and enforces uniqueness/delay on various expensive aggregations.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 64.85356% with 84 lines in your changes missing coverage. Please review.

Project coverage is 73.04%. Comparing base (aa3c153) to head (a0f64f9).

:white_check_mark: All tests successful. No failed tests found.

Files Patch % Lines
apps/server/src/worker/client.ts 19.67% 49 Missing :warning:
apps/server/src/worker/utils.ts 68.00% 8 Missing :warning:
apps/server/src/trpc/routes/queueInfo.ts 30.00% 7 Missing :warning:
apps/server/src/worker/jobs/mergeEntity.ts 54.54% 5 Missing :warning:
apps/server/src/worker/jobs/updateEntityStats.ts 54.54% 5 Missing :warning:
apps/server/src/__mocks__/worker/client.ts 0.00% 4 Missing :warning:
apps/server/src/worker/registry.ts 92.00% 2 Missing :warning:
apps/server/src/trpc/routes/bottleUpdate.ts 91.66% 1 Missing :warning:
apps/server/src/worker/jobs/onBottleChange.ts 50.00% 1 Missing :warning:
apps/server/src/worker/jobs/onEntityChange.ts 50.00% 1 Missing :warning:
... and 1 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #195 +/- ## ========================================== - Coverage 73.15% 73.04% -0.12% ========================================== Files 259 261 +2 Lines 18915 18973 +58 Branches 1501 1504 +3 ========================================== + Hits 13837 13858 +21 - Misses 5078 5115 +37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.