Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

worker starts only if all servers are available #45

Open
sni opened this issue Nov 28, 2018 · 0 comments
Open

worker starts only if all servers are available #45

sni opened this issue Nov 28, 2018 · 0 comments

Comments

@sni
Copy link

sni commented Nov 28, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant