mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-08-04 04:28:36 -04:00
Total reconnect death
This commit is contained in:
@@ -101,7 +101,7 @@ public class ChatClient
|
||||
|
||||
var client = new WebsocketClient(_config.WsUri, factory)
|
||||
{
|
||||
ReconnectTimeout = TimeSpan.FromSeconds(_config.ReconnectTimeout)
|
||||
IsReconnectionEnabled = false
|
||||
};
|
||||
_wsClient = client;
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ public class ChatClientConfigModel
|
||||
public required Dictionary<string, string> Cookies { get; set; } = new();
|
||||
// Currently wss://kiwifarms.net/chat.ws
|
||||
public required Uri WsUri { get; set; }
|
||||
public int ReconnectTimeout { get; set; } = 30;
|
||||
public string CookieDomain { get; set; } = "kiwifarms.net";
|
||||
public string? Proxy { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user