From e3e83f7ced038401748e081c79ccd991ab6a8b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20G=C3=BCndling?= Date: Thu, 14 Nov 2024 14:21:42 +0100 Subject: [PATCH] fix limits --- include/nigiri/routing/limits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nigiri/routing/limits.h b/include/nigiri/routing/limits.h index 19648c86..ee41af83 100644 --- a/include/nigiri/routing/limits.h +++ b/include/nigiri/routing/limits.h @@ -6,8 +6,8 @@ namespace nigiri::routing { -static constexpr auto const kMaxTransfers = std::uint8_t{4U}; -static constexpr auto const kMaxTravelTime = 1_days; +static constexpr auto const kMaxTransfers = std::uint8_t{15U}; +static constexpr auto const kMaxTravelTime = 5_days; static constexpr auto const kMaxSearchIntervalSize = date::days{std::numeric_limits::max() / 1440} - (kMaxTravelTime + 2_days);