Open lykmapipo opened 7 years ago
@gmcnaught Sure. Another intention is to move other logics to Job
than pollute Queue
only.
An example kue-scheduler
contain logics to clear kue db
and reset current kue queue instance
and safe shutdown
. We can extract them and provide as utility libraries on top of kue
for other to use and kue-scheduler
can depend on them.
Sure even kue-unique
is touched in this area.
So this would be a refactor to modify this library (and perhaps kue-unique as well?) to not modify the queue and job objects, but instead be separate utility objects?