mvp with terrible conn handling

This commit is contained in:
bel
2026-02-04 00:02:51 -07:00
parent 5db6a4360e
commit 25b5218e5a
9 changed files with 125 additions and 27 deletions

17
src/testdata/redises.sh vendored Normal file
View File

@@ -0,0 +1,17 @@
#! /usr/bin/bash
d=$(mktemp -d)
mkdir -p $d/1
mkdir -p $d/2
valkey-server --dir $d/1 --port 60113 --logfile $d/1.log &
bg=${!}
cleanup() {
kill $bg
}
trap cleanup EXIT
(
sleep 5
echo FORWARDS=127.0.0.1:60113,127.0.0.1:60114
) &
valkey-server --dir $d/2 --port 60114 --logfile $d/2.log