0

added processes option to command line and config file

Also the config file parser now just looks for all Settings objects in
settingsDefinitions.py, not the items in __all__
This commit is contained in:
Andrew Brown
2012-02-08 21:05:02 -05:00
parent a1dacfa994
commit 9319fee138
6 changed files with 31 additions and 8 deletions

View File

@@ -233,6 +233,15 @@ These values are set directly in the config file. Example::
This is a string indicating the path to the texture pack to use for
rendering.
.. _processes:
``processes = num_procs``
This specifies the number of worker processes to spawn on the local machine
to do work. It defaults to the number of CPU cores you have, if not
specified.
This can also be specified with :option:`--processes <-p>`
TODO: More to come here
.. _customrendermodes:

View File

@@ -146,6 +146,14 @@ only have to use once-in-a-while.
or :option:`--check-tiles` is in effect. This option overrides
:option:`--forcerender` and :option:`--check-tiles`.
.. cmdoption:: -p <procs>, --processes <procs>
This specifies the number of worker processes to spawn on the local machine
to do work. It defaults to the number of CPU cores you have, if not
specified.
This option can also be specified in the config file as :ref:`processes <processes>`
.. _installing-textures:
Installing the Textures