commit e1fe57ea878a7ba6740fca0fefc0d138bec42ad1
parent ddff59a20ac86ddc300901c287fc834ce3f80eb7
Author: William Casarin <jb55@jb55.com>
Date: Mon, 8 Jul 2024 14:38:01 -0700
a few tweaks
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/noteguard.toml b/noteguard.toml
@@ -2,5 +2,5 @@
pipeline = ["ratelimit"]
[filters.ratelimit]
-posts_per_minute = 10
-whitelist = ["127.0.0.10"]
+posts_per_minute = 8
+whitelist = ["127.0.0.1"]
diff --git a/test/test-delayed b/test/test-delayed
@@ -4,6 +4,6 @@ while true
do
echo '{"type": "new","receivedAt":12345,"sourceType":"IP4","sourceInfo": "127.0.0.2","event":{"id": "68421a122cef086512b2c5bd29ca6285ced8bd8e302e347e3c5d90466c860a76","pubkey": "16c21558762108afc34e4ff19e4ed51d9a48f79e0c34531efc423d21ab435e93","created_at": 1720408658,"kind": 1,"tags": [],"content": "hi","sig": "7b76471744ded2b720ca832cdc89e670f6093ce38aeef55a5c6a4e077883d7d80dda1e9051032fb1faa1c3c212c517e93ee42b3ceac8e8e9b04bad46a361de90"}}'
- sleep 0.1
+ sleep ${1:-0.1}
done