summaryrefslogtreecommitdiff
path: root/examples/travelynx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/travelynx.conf')
-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',
};