From: Kai Moritz Date: Sun, 15 Jan 2023 19:15:48 +0000 (+0100) Subject: README X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=9eee3e78a1592e3b78cbdfca658a1019e9b635a8;hp=443fb6d5135832c367d21b4610d3e4d15ac94be8;p=demos%2Fkafka%2Fchat README --- diff --git a/README.sh b/README.sh index 7b489490..49adab0b 100644 --- a/README.sh +++ b/README.sh @@ -1,2 +1,3 @@ #!/bin/sh docker run --rm --sysctl net.ipv4.ip_unprivileged_port_start=0 -v $(pwd)./haproxy.cfg://usr/local/etc/haproxy/haproxy.cfg:ro haproxy:2.7 -c +i=$(($i+1)); echo -n "Nachricht #$i -- $(date)" | http put :8080/5c73531c-6fc4-426c-adcb-afc5c140a0f7/kai/$i X-Shard:2 diff --git a/haproxy.cfg b/haproxy.cfg index 2177daa2..d78a358a 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -3,7 +3,7 @@ defaults mode http timeout client 10s timeout connect 5s - timeout server 10s + timeout server 10m timeout http-request 10s log global