mosquito-cr / mosquito

A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs
MIT License
227 stars 24 forks source link

implements a general purpose job metadata store #75

Closed robacarp closed 2 years ago

robacarp commented 2 years ago

fixes #70

This implements a metadata method on Job which can be used to track statistics, rate limit, or even implement a mutex between workers. The metadata is transparent and relies on the backend to manage any sort of concurrency conflicts.