public ImapServer(int port) { Port = port; Heartbeat = Heartbeat.Instance; _connectionManager = new ConnectionManager(Options.MaxConnections); Heartbeat.Add(_connectionManager); }
public ImapServer(int port) { Port = port; Timeout = (int)TimeSpan.FromMinutes(1).TotalMilliseconds; Heartbeat = Heartbeat.Instance; _connectionManager = new ConnectionManager(Options.MaxConnections); Heartbeat.Add(_connectionManager); }