[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 52/73: possible to configure max_requests with env file
From: |
gnunet |
Subject: |
[taler-grid5k] 52/73: possible to configure max_requests with env file |
Date: |
Tue, 14 Dec 2021 15:10:34 +0100 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit 3252295ba1953320882a1078a680b77f61f72fd2
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue Dec 7 16:17:41 2021 +0100
possible to configure max_requests with env file
---
configs/etc/taler/conf.d/exchange-business.conf | 2 +-
experiment/env | 4 ++++
experiment/scripts/exchange.sh | 1 +
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/configs/etc/taler/conf.d/exchange-business.conf
b/configs/etc/taler/conf.d/exchange-business.conf
index 27e0f12..c5e6e17 100644
--- a/configs/etc/taler/conf.d/exchange-business.conf
+++ b/configs/etc/taler/conf.d/exchange-business.conf
@@ -12,7 +12,7 @@ MASTER_PUBLIC_KEY = <MASTER_KEY_HERE>
# BASE_URL = https://example.com/
BASE_URL = <BASE_URL_HERE>
-MAX_REQUESTS = 10000
+MAX_REQUESTS = <MAX_REQUESTS_HERE>
# For your terms of service and privacy policy, you should specify
# an Etag that must be updated whenever there are significant
diff --git a/experiment/env b/experiment/env
index b9b9f33..2c9e7dd 100644
--- a/experiment/env
+++ b/experiment/env
@@ -39,6 +39,10 @@ AGGREGATOR_ARGS="-y"
# files ExecStart command, e.g. /usr/bin/valgrind
--log-file=/tmp/exchange-%N.log
EXCHANGE_CMD_PREFIX=""
+# Maximal number of requests an exchange process should handle
+# before it kills itself
+EXCHANGE_MAX_REQUESTS=10000
+
# Datasource names registered in the grafana instance
PROMETHEUS_DATASOURCE_NAME=Prometheus
LOKI_DATASOURCE_NAME=Loki
diff --git a/experiment/scripts/exchange.sh b/experiment/scripts/exchange.sh
index e5f3b65..4d747c0 100755
--- a/experiment/scripts/exchange.sh
+++ b/experiment/scripts/exchange.sh
@@ -13,6 +13,7 @@ function setup_config() {
sed -i -e "s/<BANK_HOST_HERE>/${BANK_DOMAIN}/g" \
-e "s\<BASE_URL_HERE>\http://${EXCHANGE_DOMAIN}/\g" \
-e "s/<MASTER_KEY_HERE>/${MASTER_KEY}/g" \
+ -e "s/<MAX_REQUESTS_HERE>/${EXCHANGE_MAX_REQUESTS:-8192}/g" \
/etc/taler/conf.d/exchange-business.conf
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 27/73: rename userlist, (continued)
- [taler-grid5k] 27/73: rename userlist, gnunet, 2021/12/14
- [taler-grid5k] 20/73: issue in logbackup, gnunet, 2021/12/14
- [taler-grid5k] 19/73: running make two times seems to work, gnunet, 2021/12/14
- [taler-grid5k] 10/73: update service files, gnunet, 2021/12/14
- [taler-grid5k] 34/73: exporter for merchant now on monitor too, gnunet, 2021/12/14
- [taler-grid5k] 24/73: cleanup with functions - try work_mem and idle_in_transaction, gnunet, 2021/12/14
- [taler-grid5k] 15/73: build wallet from source since dist does not work, gnunet, 2021/12/14
- [taler-grid5k] 25/73: enable postgres-exporter again, gnunet, 2021/12/14
- [taler-grid5k] 29/73: switch to transaction mode since otherwise its all the same as when pgbouncer not used at all, gnunet, 2021/12/14
- [taler-grid5k] 23/73: disable pgbouncer per default, gnunet, 2021/12/14
- [taler-grid5k] 52/73: possible to configure max_requests with env file,
gnunet <=
- [taler-grid5k] 22/73: add pgbouncer, tune pg config, gnunet, 2021/12/14
- [taler-grid5k] 16/73: fix wallet build - broken on master, gnunet, 2021/12/14
- [taler-grid5k] 61/73: refactor db.sh, gnunet, 2021/12/14
- [taler-grid5k] 30/73: increase default pool size, gnunet, 2021/12/14
- [taler-grid5k] 43/73: update config of db and exch, gnunet, 2021/12/14
- [taler-grid5k] 44/73: -resolve conflict, gnunet, 2021/12/14
- [taler-grid5k] 41/73: update installer script, gnunet, 2021/12/14
- [taler-grid5k] 54/73: enable huge_pages, implement exchange scrape logic, gnunet, 2021/12/14
- [taler-grid5k] 48/73: update install script, gnunet, 2021/12/14
- [taler-grid5k] 37/73: bootstrap seems to work with sudo, gnunet, 2021/12/14