mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Apply error throttler for unexpected exceptions as well
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user