projects
/
demos
/
kafka
/
chat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443fb6d
)
README
author
Kai Moritz
<kai@juplo.de>
Sun, 15 Jan 2023 19:15:48 +0000
(20:15 +0100)
committer
Kai Moritz
<kai@juplo.de>
Sun, 15 Jan 2023 19:21:18 +0000
(20:21 +0100)
README.sh
patch
|
blob
|
history
haproxy.cfg
patch
|
blob
|
history
diff --git
a/README.sh
b/README.sh
index
7b48949
..
49adab0
100644
(file)
--- 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
2177daa
..
d78a358
100644
(file)
--- a/
haproxy.cfg
+++ b/
haproxy.cfg
@@
-3,7
+3,7
@@
defaults
mode http
timeout client 10s
timeout connect 5s
- timeout server 10
s
+ timeout server 10
m
timeout http-request 10s
log global