chore: use type for rate limit config (#3489)

* chore: use type for rate limit config

Use type instead of `seq[string]` for rate limit config earlier.
Enables to fail faster (at config time) if the string is malformated

Also enables using object in some scenarios.

* test: remove import warnings

* improve naming and add tests
This commit is contained in:
fryorcraken
2025-07-09 15:57:38 +10:00
committed by GitHub
parent b713b6e5f4
commit 4e527ee045
17 changed files with 79 additions and 26 deletions
+2
View File
@@ -1,3 +1,5 @@
{.used.}
import
./test_wakunode_filter,
./test_wakunode_legacy_lightpush,