From 2d275d9148d224b0bb2ab6f9108ca1b79f078b7d Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Fri, 14 Nov 2025 15:45:59 +0700 Subject: [PATCH] [generator] Use more threads to Index Taiwan_* Signed-off-by: Konstantin Pastbin --- tools/python/maps_generator/generator/steps.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/python/maps_generator/generator/steps.py b/tools/python/maps_generator/generator/steps.py index ac868ce3d..a98f5d089 100644 --- a/tools/python/maps_generator/generator/steps.py +++ b/tools/python/maps_generator/generator/steps.py @@ -36,8 +36,11 @@ def multithread_run_if_one_country(func): def wrap(env, country, **kwargs): if len(env.countries) == 1: kwargs.update({"threads_count": settings.THREADS_COUNT}) + # Otherwise index stage of Taiwan_* mwms continues to run after all other mwms have finished: elif country == 'Taiwan_North': - kwargs.update({"threads_count": 4}) + kwargs.update({"threads_count": 6}) + elif country == 'Taiwan_South': + kwargs.update({"threads_count": 2}) func(env, country, **kwargs) return wrap