commit 586e63030e29d507f62a7add1990e1937ce52bc4
parent d296945f60c51d5511304aff5f710f3d0985c935
Author: Florian Dold <florian@dold.me>
Date: Wed, 16 Jul 2025 20:02:24 +0200
decrease libeufin-nexus frequencies
Diffstat:
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 b/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2
@@ -26,14 +26,19 @@ BANK_DIALECT = {{ LIBEUFIN_NEXUS_BANK_DIALECT }}
[nexus-fetch]
-FREQUENCY = 30s
+# We can keep this rather high, since
+# for CH, bank transactions are slow.
+# For DE/GLS, we get SEPA Instant notifications,
+# so we are not limited by this frequency in the
+# first place.
+FREQUENCY = 300s
{%if DEPLOYMENT_KIND == 'tops' %}
RESTRICTION_PAYTO_REGEX = payto://iban/CH.*
{%endif %}
[nexus-submit]
-FREQUENCY = 30s
+FREQUENCY = 90s
[nexus-httpd]
SERVE = tcp
@@ -41,7 +46,7 @@ PORT = {{ LIBEUFIN_PORT }}
BIND_TO = 127.0.0.1
[nexus-postgres]
-CONFIG=postgres:///libeufin
+CONFIG = postgres:///libeufin
[nexus-httpd-wire-gateway-api]
ENABLED = YES