Sfoglia il codice sorgente

* room server: suggested keep_alive interval now disabled

Scott Powell 1 anno fa
parent
commit
0f9efa2ee8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/simple_room_server/main.cpp

+ 1 - 1
examples/simple_room_server/main.cpp

@@ -123,7 +123,7 @@ struct PostInfo {
 #define PUSH_TIMEOUT_BASE          4000
 #define PUSH_ACK_TIMEOUT_FACTOR    2000
 
-#define CLIENT_KEEP_ALIVE_SECS   128
+#define CLIENT_KEEP_ALIVE_SECS     0     // Now Disabled (was 128)
 
 #define REQ_TYPE_GET_STATUS          0x01   // same as _GET_STATS
 #define REQ_TYPE_KEEP_ALIVE          0x02