Hamid Karevan
Hamid Karevan
I checked this and the exception does not occur, when there are many packages incoming that are not valid and we return -1, after some time it causes the workers...
No, I just used these configs: ``` $server->set([ // Server 'worker_num' => 10, // Tcp server 'heartbeat_idle_time' => 510, 'heartbeat_check_interval' => 10, // TCP Parser 'open_length_check' => true, 'package_max_length' =>...
Can anyone help me with this issues?
I checked my codes and tried to see when exactly this error occurs Finally, I came to the conclusion that when I use Timer::tick outside of Workers, I get this...
**Explanation of the PHP code:** **HamidServer class:** This class is responsible for creating and running a Swoole server. ``` class HamidServer { public $server; public function __construct(string $host, int $port)...
I came and used APCu function instead of `package_length_func` Now I ran into a problem and that was that the workers are restarted automatically When I go and see the...
Thank you so much for taking the time to provide this detailed explanation and guidance. Your help is greatly appreciated, and it has definitely clarified things for me. I truly...