moarrr randomness

This commit is contained in:
freek 2018-11-28 20:38:04 +01:00
parent 48ab69ee18
commit 7fdcbe13ef
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class WebSocketHandler implements MessageComponentInterface
protected function generateSocketId(ConnectionInterface $connection)
{
$socketId = sprintf("%d.%d", random_int(1, 100000000), random_int(1, 100000000));
$socketId = sprintf("%d.%d", random_int(1, 1000000000), random_int(1, 1000000000));
$connection->socketId = $socketId;