mirror of
https://github.com/dani/vroom.git
synced 2024-06-17 19:59:13 +02:00
Use same values as the real SignalMaster
This commit is contained in:
parent
918a0c03f5
commit
20b838878b
4
vroom.pl
4
vroom.pl
|
@ -899,8 +899,8 @@ get '/socket.io/:ver' => sub {
|
|||
$self->session(peer_id => $self->get_random(256));
|
||||
my $handshake = Protocol::SocketIO::Handshake->new(
|
||||
session_id => $self->session('peer_id'),
|
||||
heartbeat_timeout => 15,
|
||||
close_timeout => 20,
|
||||
heartbeat_timeout => 20,
|
||||
close_timeout => 40,
|
||||
transports => [qw/websocket/]
|
||||
);
|
||||
return $self->render(text => $handshake->to_bytes);
|
||||
|
|
Loading…
Reference in New Issue
Block a user