Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Commit

Permalink
Force process termination on index commit timeouts (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
loic-sharma authored Nov 9, 2018
1 parent fb11c81 commit 382c214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ng/SearchIndexFromCatalogCollector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public async Task EnsureCommittedAsync()
_logger.LogError("TIMEOUT Committing index containing {0} documents. Metadata: commitTimeStamp {CommitTimeStamp}; change count {ChangeCount}; trace {CommitTrace}",
_indexWriter.NumDocs(), _metadataForNextCommit.CommitTimeStamp.ToString("O"), _metadataForNextCommit.Count, _metadataForNextCommit.Trace);

throw;
Environment.Exit(exitCode: 1);
}
}

Expand Down

0 comments on commit 382c214

Please sign in to comment.