use gorun

This commit is contained in:
kim 2024-04-03 17:11:31 +01:00
parent 033b2e7d60
commit 73ef63689d

View file

@ -94,7 +94,7 @@ func NewAPDeliveryWorker(client *Client, queue *queue.StructQueue[*queue.APReque
// Start will attempt to start the DeliveryWorker{}.
func (w *APDeliveryWorker) Start() bool {
return w.service.Run(w.process)
return w.service.GoRun(w.process)
}
// Stop will attempt to stop the DeliveryWorker{}.