Skip to content

Commit 8e3087e

Browse files
committed
passing logger to backoff
1 parent fbfbeb5 commit 8e3087e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebJobs.Script.WebHost/WebJobsScriptHostService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ private async Task UnsynchronizedStartHostAsync(CancellationToken cancellationTo
296296
else
297297
{
298298
logger.LogDebug($"Will start a new host after delay.");
299-
await Utility.DelayWithBackoffAsync(attemptCount, cancellationToken, min: TimeSpan.FromSeconds(1), max: TimeSpan.FromMinutes(2))
299+
await Utility.DelayWithBackoffAsync(attemptCount, cancellationToken, min: TimeSpan.FromSeconds(1), max: TimeSpan.FromMinutes(2), logger: logger)
300300
.ContinueWith(t =>
301301
{
302302
if (cancellationToken.IsCancellationRequested)

0 commit comments

Comments
 (0)