func (dataW *dataWorker) Add(job *goqless.Job) (err error) { job.Data = map[string]interface{}{"id": "Add"} time.Sleep(190 * time.Second) job.Data = map[string]interface{}{"id": "sleepEndAdd"} return }
func (dataW *dataWorker) Sub(job *goqless.Job) (err error) { job.Data = map[string]interface{}{"id": "Sub"} return }