Skip to content

Conversation

donhardman
Copy link
Contributor

Adding option MYSQL_OPT_RECONNECT does not give magic possibility to auto recconnect to mysql in you code.

You need to call mysql_ping that will check in case this option connection and do the job.

@SpamapS
Copy link
Member

SpamapS commented Jun 2, 2022

Cool, but, also, stop using gearmand as a persistent queue. Write a worker storage system so you don't have this SPOF/bottleneck. ;)

@SpamapS SpamapS merged commit bf0e8a2 into gearman:master Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants