Add log line

This commit is contained in:
vishnukvmd 2024-01-05 16:18:46 +05:30
parent 1d7e609bbe
commit e50e6dc013

View file

@ -117,6 +117,7 @@ class SemanticSearchService {
return _ongoingRequest!;
} else {
// If there's an ongoing request, create or replace the nextCompleter.
_logger.info("Queuing query $query");
await _nextQuery?.completer.future
.timeout(const Duration(seconds: 0)); // Cancels the previous future.
_nextQuery = PendingQuery(query, Completer<List<EnteFile>>());