maragudk / goqite

Go queue library built on SQLite and inspired by AWS SQS.
https://maragudk.github.io/goqite/
MIT License
435 stars 13 forks source link

Add jobs.Runner #38

Closed markuswustenberg closed 6 months ago

markuswustenberg commented 7 months ago

This adds a new package jobs which provides an abstraction to run background jobs, backed by the queue.

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 83.07692% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 90.17%. Comparing base (9abc8f8) to head (b907807).

Files Patch % Lines
jobs/runner.go 82.53% 17 Missing and 5 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #38 +/- ## ========================================== + Coverage 89.83% 90.17% +0.34% ========================================== Files 2 3 +1 Lines 236 336 +100 ========================================== + Hits 212 303 +91 - Misses 17 25 +8 - Partials 7 8 +1 ```

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