We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
releases
1 parent 5f9f82e commit 6f74364Copy full SHA for 6f74364
1 file changed
src/Server/Services/GitLab/VersionCache.cs
@@ -131,7 +131,7 @@ public async Task RefreshAsync()
131
);
132
133
if (releases is null)
134
- goto ReleaseLock;
+ return;
135
136
await _semaphore.WaitAsync();
137
@@ -175,8 +175,7 @@ public async Task RefreshAsync()
175
176
_logger.LogInformation("Loaded {entryCount} version cache entries for {project}; took {time}ms.", Count,
177
_cachedProject!.Value.Name, sw.ElapsedMilliseconds);
178
-
179
- ReleaseLock:
+
180
_semaphore.Release();
181
}
182
0 commit comments