From 5e3f8b2fe520d4a3316c8c1fcf680c875a599500 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Thu, 27 Jun 2024 11:04:09 -0700 Subject: [PATCH] Apply error throttler for unexpected exceptions as well --- src/Runner.Listener/Runner.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Runner.Listener/Runner.cs b/src/Runner.Listener/Runner.cs index d83cefa06..02ced8795 100644 --- a/src/Runner.Listener/Runner.cs +++ b/src/Runner.Listener/Runner.cs @@ -595,6 +595,7 @@ namespace GitHub.Runner.Listener catch (Exception ex) { Trace.Error($"Caught exception from acquiring job message: {ex}"); + await _acquireJobThrottler.IncrementAndWaitAsync(messageQueueLoopTokenSource.Token); continue; } }