Update ZSocketServer.cs

pull/1/head
Ogoun 6 years ago
parent 44dd074c7b
commit 62f062dba8

@ -132,8 +132,6 @@ namespace ZeroLevel.Network
_heartbeat_task = Sheduller.RemindEvery(TimeSpan.FromMilliseconds(HEARTBEAT_UPDATE_PERIOD_MS), Heartbeat); _heartbeat_task = Sheduller.RemindEvery(TimeSpan.FromMilliseconds(HEARTBEAT_UPDATE_PERIOD_MS), Heartbeat);
Working(); Working();
_serverSocket.BeginAccept(BeginAcceptCallback, null); _serverSocket.BeginAccept(BeginAcceptCallback, null);
Sheduller.RemindEvery(TimeSpan.FromSeconds(5), () => Log.Info($"Connections: {ConnectionList.Count()}"));
} }
protected abstract void Handle(Frame frame, IZBackward client); protected abstract void Handle(Frame frame, IZBackward client);

Loading…
Cancel
Save

Powered by TurnKey Linux.