@@ -78,6 +78,25 @@ The following settings are recognized:
7878 * ``journal ``: set to :samp: `yes ` to send structured log
7979 messages to the systemd journal
8080
81+ * ``sticky ``: if ``yes ``, then jobs with the same ``sticky_id ``
82+ value are always executed on the same server. This requires that
83+ all Workshop processes on all servers know each others via
84+ Zeroconf (i.e. at least ``zeroconf_service `` must be configured).
85+ See :ref: `cron.sticky ` for more information.
86+
87+ * ``zeroconf_service ``: discover other Workshop instances with this
88+ Zeroconf service name (for ``sticky ``).
89+ * ``zeroconf_domain ``: The name of the Zeroconf domain.
90+ * ``zeroconf_interface ``: publish the Zeroconf service only on the
91+ given interface.
92+ * ``zeroconf_protocol ``: Publish only protocol ``inet `` or
93+ ``inet6 ``.
94+ * ``zeroconf_weight ``: publish the Zeroconf service with the
95+ specified "weight", i.e. accept less or more jobs on this host.
96+ The value is a decimal number; the implied default value is
97+ :samp: `1.0 `. For example, if you specify :samp: `0.5 `, you expect
98+ this node to get only half as many jobs as others.
99+
81100.. _workshop_translation_server :
82101
83102 * ``translation_server ``: address the translation server is
@@ -535,6 +554,8 @@ The `jobs` table
535554----------------
536555
537556* ``id ``: The primary key.
557+ * ``sticky_id ``: An opaque string which is used to calculate
558+ :ref: `stickiness <cron.sticky >`.
538559* ``name ``: An optional name assigned by the job creator. Not
539560 used by Workshop.
540561* ``description ``: Human readable description. Not used by
0 commit comments