Fantastic library @shiny! Good ergonomics and excellent documentation.
Small suggestion: currently it appears that the apps/jobs directory is hard-coded for job registration.
This is an okay default, but a bit inflexible. It's problematic for anyone building their app in a domain module-based structure e.g. app/contacts/jobs, app/reminders/jobs. This approach is increasingly common in larger scale Laravel/Adonis/Rails apps.
As a workaround, people could extend the ResqueProvider and replacing the register() function (which is probably what I'll have to do).
It'd be awesome if there was a setting that lets you define a custom glob to search for jobs by, similar to what Adonis core lets you do for test directories.
Fantastic library @shiny! Good ergonomics and excellent documentation.
Small suggestion: currently it appears that the
apps/jobsdirectory is hard-coded for job registration.This is an okay default, but a bit inflexible. It's problematic for anyone building their app in a domain module-based structure e.g.
app/contacts/jobs,app/reminders/jobs. This approach is increasingly common in larger scale Laravel/Adonis/Rails apps.As a workaround, people could extend the ResqueProvider and replacing the register() function (which is probably what I'll have to do).
It'd be awesome if there was a setting that lets you define a custom glob to search for jobs by, similar to what Adonis core lets you do for test directories.