From 4b8fd09b272fc8cbc22a2f705e216f1eb6238722 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 2 Jan 2023 05:59:16 +0100 Subject: move traewelling sync to a separate command --- examples/travelynx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'examples/travelynx.conf') diff --git a/examples/travelynx.conf b/examples/travelynx.conf index 535fb43..c717376 100644 --- a/examples/travelynx.conf +++ b/examples/travelynx.conf @@ -94,5 +94,21 @@ die("Changeme!"), ], + traewelling => { + # By default, the "work" or "worker" command does not just update + # real-time data of active journeys, but also performs push and pull + # synchronization with traewelling for accounts that have configured it. + # Traewelling pull synchronization currently relies on polling the user + # status on traewelling.de, so large travelynx instances may want to + # run pull synchronization less frequently than regular "work" commands + # and traewelling push synchronization. + # + # To do so, uncomment "separate_worker" below and create a cronjob that + # periodically runs "perl index.pl traewelling" (push and pull) or + # two separate cronjobs that run "perl index.pl traewelling push" and + # "perl index.pl traewelling pull", respectively. + ## separate_worker => 1, + }, + version => qx{git describe --dirty} // 'experimental', }; -- cgit v1.2.3