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 ff44cf3 commit 1395d49Copy full SHA for 1395d49
src/Umbraco.Infrastructure/Runtime/FileSystemMainDomLock.cs
@@ -108,7 +108,7 @@ public void CreateLockReleaseSignalFile() =>
108
public void DeleteLockReleaseSignalFile() =>
109
File.Delete(_releaseSignalFilePath);
110
111
- private void ListeningLoop()
+ private async Task ListeningLoop()
112
{
113
while (true)
114
@@ -132,7 +132,7 @@ private void ListeningLoop()
132
break;
133
}
134
135
- Thread.Sleep(_globalSettings.CurrentValue.MainDomReleaseSignalPollingInterval);
+ await Task.Delay(_globalSettings.CurrentValue.MainDomReleaseSignalPollingInterval);
136
137
138
0 commit comments