From 8e61b787010766f0961280f2345b85c75bea19f7 Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Thu, 14 Nov 2024 11:03:09 +0200 Subject: [PATCH 1/2] Add bicycle to transfer caching --- waltti/router-config.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/waltti/router-config.json b/waltti/router-config.json index 2ff6de32..d0dac442 100644 --- a/waltti/router-config.json +++ b/waltti/router-config.json @@ -66,6 +66,16 @@ "enabled": true } }, + { + "modes": "BICYCLE", + "walk": { + "speed": 1.2, + "reluctance": 1.8 + }, + "bicycle": { + "speed": 5.55 + } + }, { "modes": "BICYCLE_RENT", "walk": { @@ -83,6 +93,16 @@ "reluctance": 1.8 } }, + { + "modes": "BICYCLE", + "walk": { + "speed": 1.67, + "reluctance": 1.8 + }, + "bicycle": { + "speed": 5.55 + } + }, { "modes": "BICYCLE_RENT", "walk": { From 7da7666786a7283825fc80592df8e44142e5324c Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Thu, 14 Nov 2024 11:04:54 +0200 Subject: [PATCH 2/2] Try shorter min search window For some reason, waltti cpu load is 5 times higher as hsl --- waltti/router-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waltti/router-config.json b/waltti/router-config.json index d0dac442..f9835fa6 100644 --- a/waltti/router-config.json +++ b/waltti/router-config.json @@ -45,7 +45,7 @@ "transit": { "pagingSearchWindowAdjustments": ["8h", "4h", "4h", "4h", "4h"], "dynamicSearchWindow" : { - "minWindow" : "2h" + "minWindow" : "1h" }, "maxNumberOfTransfers" : 12, "transferCacheRequests": [