Ping Pong #85
-
Please, how could I maintain a connection using ping-pong? I can't find the interval, and I don't know where or what to write. |
Beta Was this translation helpful? Give feedback.
Answered by
arthurkushman
Nov 21, 2024
Replies: 1 comment
-
If u r trying to set up a server timeout - just use these options (u can find them in readme file): $config = new ServerConfig();
$config->setClientsPerFork(2500);
$config->setStreamSelectTimeout(2 * 3600); if otherwise u need to set up timeout on client: $config = new ClientConfig();
$config->setFragmentSize(8096);
$config->setTimeout(15); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
palo999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If u r trying to set up a server timeout - just use these options (u can find them in readme file):
if otherwise u need to set up timeout on client: