Jobs
Note: Jets 6 Jobs are different than Jets 5 Jobs. A Jets 6 Job is a Rails ActiveJob compatible job. Jets 5 Jobs have been renamed to Jets Events
Jets Jobs are just Rails Jobs. It’s implemented as a config.active_job.queue_adapter = :jets_job
adapter. See: Enabling Jets Jobs.
Jobs handles work better suited to run in the background - outside of the web request/response cycle.
Links
- Enable: How to Enable Jets Jobs.
- Scheduler: How to Schedule Jobs with schedule.yml.
- Multiple Queues: How to create and use multiple queues.
- Concurrency: How to adjust Job concurrency settings.
- FIFO: How to use a FIFO Queue instead of a Standard Queue.
- Debug: Some debugging tips with Jets Jobs.