Added connection backoff for OBS.

This commit is contained in:
Tom
2025-01-18 17:43:29 +00:00
parent c373af5281
commit 3b24208acc
2 changed files with 9 additions and 36 deletions

View File

@@ -138,6 +138,7 @@ s.AddSingleton<IChatterGroupManager, ChatterGroupManager>();
s.AddSingleton<IGroupPermissionManager, GroupPermissionManager>();
// OBS websocket
s.AddKeyedSingleton<IBackoff>("obs", new ExponentialBackoff(1000, 120 * 1000));
s.AddKeyedSingleton<IWebSocketHandler, HelloHandler>("obs");
s.AddKeyedSingleton<IWebSocketHandler, IdentifiedHandler>("obs");
s.AddKeyedSingleton<IWebSocketHandler, RequestResponseHandler>("obs");