celery-php icon indicating copy to clipboard operation
celery-php copied to clipboard

how to set timeout with connection redis or mq

Open crazychengmm opened this issue 6 years ago • 0 comments

Hi I use celery-php on my product to send data to celery. It helps me a lot. Thanks. But I found a problem that when php server lost connection with celery server(network issue). The process will hang until php's time limit(set_time_limit ). $c = new \Celery\Celery('localhost', 'myuser', 'mypass', 'myvhost'); Is there anyidea that can set timeout on connection(network issue)?

I am not good at php.Would you give me some hint.

Thanks

crazychengmm avatar Dec 14 '18 08:12 crazychengmm