v0.1.10
- if context handler is used,
worker.Stopwill be able to quickly stop current job execution. - add external enqueuer interface to enqueue job into other queue systems.
// ExternalEnqueuer enqueues a job with other queue protocol.
// Queue adaptor that implements this can publish jobs directly to other types of queue systems.
type ExternalEnqueuer interface {
ExternalEnqueue(*Job, *EnqueueOptions) error
}
sidekiq.Queueimplementswork.ExternalEnqueuer