diff --git a/search/search_params.hpp b/search/search_params.hpp index ab8d6b7bba..f7070385d0 100644 --- a/search/search_params.hpp +++ b/search/search_params.hpp @@ -28,10 +28,11 @@ struct SearchParams inline static size_t const kPreResultsCount = 200; inline static double const kDefaultStreetSearchRadiusM = 8e4; inline static double const kDefaultVillageSearchRadiusM = 2e5; + // TODO: Short timeouts leads to a non-working search on slow devices. Design a better solution. inline static std::chrono::steady_clock::duration const kDefaultTimeout = - std::chrono::seconds(3); + std::chrono::seconds(8); inline static std::chrono::steady_clock::duration const kDefaultDesktopTimeout = - std::chrono::milliseconds(1500); + std::chrono::seconds(8); using OnStarted = std::function; using OnResults = std::function;