File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,11 @@ public class Proxy : IDisposable {
20
20
private ClientWebSocket _Socket ;
21
21
private System . Timers . Timer _PingTimer ;
22
22
private System . Timers . Timer _PongTimer ;
23
- private System . Timers . Timer _ReconnectTimer = new System . Timers . Timer ( ) ;
24
- private ConfigurationSettings _Configuration ;
25
- private ILogger _Logger ;
23
+ private readonly ConfigurationSettings _Configuration ;
24
+ private readonly ILogger _Logger ;
26
25
private static bool _Reconnect ;
27
26
28
- private static readonly TimeSpan [ ] _ReconnectTimeouts = new TimeSpan [ ] {
29
- TimeSpan . FromSeconds ( 10 ) , TimeSpan . FromSeconds ( 30 ) , TimeSpan . FromMinutes ( 1 ) , TimeSpan . FromMinutes ( 5 )
30
- } ;
31
-
32
- public Proxy ( IOptions < ConfigurationSettings > settings , ILoggerFactory loggerFactory )
33
- {
27
+ public Proxy ( IOptions < ConfigurationSettings > settings , ILoggerFactory loggerFactory ) {
34
28
35
29
InitializeMethodStrategies ( ) ;
36
30
You can’t perform that action at this time.
0 commit comments