g2 icon indicating copy to clipboard operation
g2 copied to clipboard

worker starts only if all servers are available

Open sni opened this issue 5 years ago • 0 comments

I have a failover scenario with multiple gearmand servers but most time only one of them is running. With the gearman c library i just add all those servers to our worker and it runs jobs from those who are available. The go worker croaks on worker.Ready() on the first server which is unavailable. Wouldn't it be better to only croak if all server are unavailable?

sni avatar Nov 28 '18 08:11 sni