Make sure completer is only completed once

This commit is contained in:
vishnukvmd 2024-02-18 10:53:47 +05:30
parent bbb1caa313
commit 7eb490ced4

View file

@ -375,7 +375,9 @@ class SemanticSearchService {
void _startIndexing() {
_logger.info("Start indexing");
_healthCheckCompleter.complete();
if (!_healthCheckCompleter.isCompleted) {
_healthCheckCompleter.complete();
}
}
void _pauseIndexing() {