Skip to content

Commit ee18e80

Browse files
authored
Reduce log level for slow search. (#1546)
1 parent f65e678 commit ee18e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lib/search/handlers.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Future<shelf.Response> _searchHandler(shelf.Request request) async {
5353
final PackageSearchResult result = await packageIndex.search(query);
5454
final Duration elapsed = sw.elapsed;
5555
if (elapsed > _slowSearchThreshold) {
56-
_logger.warning(
56+
_logger.info(
5757
'Slow search: handler exceeded ${_slowSearchThreshold.inMilliseconds}ms: '
5858
'${query.toServiceQueryParameters()}');
5959
}

0 commit comments

Comments
 (0)