gearman / gearmand

http://gearman.org/
Other
740 stars 137 forks source link

Mysql reconnect issue #331

Closed donhardman closed 2 years ago

donhardman commented 2 years ago

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 commented 2 years ago

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