Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit e57ce1e

Browse files
committed
Lowering timeout of keeping connection request to avoid useless re-connection after disconnect.
1 parent ab39abb commit e57ce1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alvr_server/Listener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ class Listener : public CThread {
684684

685685
// Maximum UDP payload
686686
static const int PACKET_SIZE = 1400;
687-
static const int64_t REQUEST_TIMEOUT = 10 * 1000 * 1000;
687+
static const int64_t REQUEST_TIMEOUT = 5 * 1000 * 1000;
688688
static const int64_t CONNECTION_TIMEOUT = 5 * 1000 * 1000;
689689

690690
uint32_t videoPacketCounter = 0;

0 commit comments

Comments
 (0)