dcd0181
dcd0181

Reputation: 1503

Job server - remove Gearman worker function from queue

We're using Gearman along with Supervisord to queue and run jobs on our server. One issue I cannot seem to be able to solve is completley removing Gearman workers from the job queue. I've tried removing both client/worker source files as well as calling GearmanWorker::unregister from a different worker. When running $ gearadmin --status I still see the worker function within the job queue. Any suggestions?

Upvotes: 2

Views: 2963

Answers (1)

Yugene
Yugene

Reputation: 141

You need gearadmin --drop-function XXX

Upvotes: 6

Related Questions