Skip to content

Commit

Permalink
Fix system start: explicit commit after executing unprocessed activit…
Browse files Browse the repository at this point in the history
…ies on app start. (#2031)
  • Loading branch information
kavics committed Feb 2, 2024
1 parent 0bda1b3 commit bccfa1b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public void Startup(TextWriter consoleOut)
while (_activeTasks > ActiveTaskLimit)
Thread.Sleep(_hearthBeatMilliseconds);
}
Providers.Instance.IndexManager.CommitAsync(CancellationToken.None).ConfigureAwait(false);

// every period starts now
_lastLockRefreshTime = DateTime.UtcNow;
Expand Down

0 comments on commit bccfa1b

Please sign in to comment.