Skip to content

Commit 636182f

Browse files
authored
[v3.x] Update WebJobsScriptHostService to remove hardcoded sleep during shut down (#9521)
1 parent 3866b07 commit 636182f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66

77
**Release sprint:** Sprint 146
88
[ [bugs](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+146%22+label%3Abug+is%3Aclosed) | [features](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+146%22+label%3Afeature+is%3Aclosed) ]
9+
10+
- Update WebJobsScriptHostService to remove hardcoded sleep during application shut down (#9521)

src/WebJobs.Script.WebHost/WebJobsScriptHostService.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,8 +793,6 @@ private void RegisterApplicationLifetimeEvents()
793793
{
794794
_logger.LogDebug("Application Stopping: initiate drain mode");
795795
drainModeManager.EnableDrainModeAsync(CancellationToken.None);
796-
// Workaround until https://github.com/Azure/azure-functions-host/issues/7188 is addressed.
797-
Thread.Sleep(TimeSpan.FromMinutes(10));
798796
}
799797
}
800798
});

0 commit comments

Comments
 (0)