Compare commits

..

1 Commits

Author SHA1 Message Date
Konstantin Pastbin
6e9e202845 [generator] Use 56 threads for Features stage
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-12-09 08:22:51 +07:00
2 changed files with 2 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ public:
// Set speed as-is from parent link.
if (parentHwType == hwType)
return {{s.GetForward(), s.GetUnits()}};
/*
using routing::HighwayType;
if ((*parentHwType == HighwayType::HighwayMotorway && hwType == HighwayType::HighwayMotorwayLink) ||
(*parentHwType == HighwayType::HighwayTrunk && hwType == HighwayType::HighwayTrunkLink) ||
@@ -163,7 +163,6 @@ public:
return converter.ClosestValidMacro(
{base::asserted_cast<MaxspeedType>(std::lround(s.GetForward() * kLinkToMainSpeedFactor)), s.GetUnits()});
}
*/
return {};
};

View File

@@ -20,7 +20,7 @@ MAIN_OUT_PATH: /mnt/4tbexternal/osm-maps
# Path to the data/ folder in the repository:
USER_RESOURCE_PATH: ${Developer:OMIM_PATH}/data
# Features stage only parallelism level. Set to 0 for auto detection.
THREADS_COUNT_FEATURES_STAGE: 0
THREADS_COUNT_FEATURES_STAGE: 56
# Do not change it. This is determined automatically.
NODE_STORAGE: mem