We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09946f2 commit 79646b3Copy full SHA for 79646b3
src/KubeOps/Operator/Kubernetes/ResourceWatcher{TEntity}.cs
@@ -73,10 +73,11 @@ private void Disposing(bool fromStop)
73
{
74
_watchEvents.Dispose();
75
_reconnectHandler.Dispose();
76
+ _reconnectSubscription.Dispose();
77
}
78
- _reconnectHandler.Dispose();
79
- _reconnectSubscription.Dispose();
+ _resetReconnectCounter?.Dispose();
80
+
81
if (_cancellation?.IsCancellationRequested == false)
82
83
_cancellation.Cancel();
@@ -195,8 +196,6 @@ e.InnerException is JsonException &&
195
196
.Timer(TimeSpan.FromMinutes(1))
197
.FirstAsync()
198
.Subscribe(_ => _reconnectAttempts = 0);
-
199
- _reconnectHandler.OnNext(backoff);
200
201
catch (Exception exception)
202
0 commit comments