summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-02 05:59:16 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-02 05:59:38 +0100
commit4b8fd09b272fc8cbc22a2f705e216f1eb6238722 (patch)
tree3ff05bef4d11734c3ab9973f65ee0cd3dc093c6e /examples
parentef0c2f0cd876c6d982f56a33c8a041ccaeb633e3 (diff)
move traewelling sync to a separate command
Diffstat (limited to 'examples')
-rw-r--r--examples/travelynx.conf16
1 files changed, 16 insertions, 0 deletions
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',
};