|
@@ -1,8 +1,8 @@
|
|
|
import { io } from "socket.io-client";
|
|
|
import customParser from "socket.io-msgpack-parser";
|
|
|
const URL = process.env.URL || "wss://test-socket.4dkankan.com";
|
|
|
-
|
|
|
-const MAX_CLIENTS = 600;
|
|
|
+// http://zhang9394@zhangyupeng:face3d.4dage.com:7005/zhangyupeng/chatIM.git
|
|
|
+const MAX_CLIENTS = 500;
|
|
|
const POLLING_PERCENTAGE = 0.05;
|
|
|
const CLIENT_CREATION_INTERVAL_IN_MS = 10;
|
|
|
const EMIT_INTERVAL_IN_MS = 1000;
|