Skip to content

Commit

Permalink
Added pub sub message converter
Browse files Browse the repository at this point in the history
  • Loading branch information
mozts2005 committed Jan 1, 2020
1 parent 5bed7d1 commit dcc569a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Fritz.Twitch/PubSub/Proxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@ public class Proxy : IDisposable {
private ClientWebSocket _Socket;
private System.Timers.Timer _PingTimer;
private System.Timers.Timer _PongTimer;
private System.Timers.Timer _ReconnectTimer = new System.Timers.Timer();
private ConfigurationSettings _Configuration;
private ILogger _Logger;
private readonly ConfigurationSettings _Configuration;
private readonly ILogger _Logger;
private static bool _Reconnect;

private static readonly TimeSpan[] _ReconnectTimeouts = new TimeSpan[] {
TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(30), TimeSpan.FromMinutes(1), TimeSpan.FromMinutes(5)
};

public Proxy(IOptions<ConfigurationSettings> settings, ILoggerFactory loggerFactory)
{
public Proxy(IOptions<ConfigurationSettings> settings, ILoggerFactory loggerFactory) {

InitializeMethodStrategies();

Expand Down

0 comments on commit dcc569a

Please sign in to comment.