From f7fce26deacf8b63b4852c511eb9cf460df694f9 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 26 Apr 2023 17:56:57 +0200 Subject: allow number of hittekaart threads to be limited --- doc/administration/configuration.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/administration') diff --git a/doc/administration/configuration.rst b/doc/administration/configuration.rst index d272234..5be3537 100644 --- a/doc/administration/configuration.rst +++ b/doc/administration/configuration.rst @@ -227,6 +227,12 @@ empty, which means that Fietsboek will not generate any overlays on its own. You can add ``heatmap`` and/or ``tilehunter`` to generate those maps automatically. +By default, ``hittekaart`` will use as many threads as CPU cores are available. +This leads to the fastest heatmap generation, but might be undesired on shared +hosts that also have other services running. You can explicitely set a thread +count by setting ``hittekaart.threads``. A value of "0" is equivalent to the +default behavior. + .. note:: The ``hittekaart.autogenerate`` has no effect on the ``fietsctl @@ -245,5 +251,6 @@ An example configuration excerpt can look like this: hittekaart.bin = /usr/local/bin/hittekaart hittekaart.autogenerate = heatmap tilehunter + hittekaart.threads = 2 .. _hittekaart: https://gitlab.com/dunj3/hittekaart -- cgit v1.2.3