I'm using swoole create an Async-Style tcp server. and manager the message using laravel eloquent. when access Eloquent operation,error occurred
PHP Fatal error: Uncaught Swoole\Error: Socket#12 has already been bound to another coroutine#151, reading of the same socket in coroutine#153 at the same time is not allowed
then I try to add the following code to the workerStart callback
DB::reconnect();
or
DB::disconnect();
none of these method sccessed , the error message still shows
so, Is there any way to force laravel building new connection while creating new worker?