Files
next.orly.dev/cmd/benchmark/configs/config.toml
mleku 95c6082564 Implement blacklisting for IPs and enhance follow list fetching
- Added functionality to handle blacklisted IPs, allowing connections to remain open until a timeout is reached.
- Introduced periodic fetching of admin follow lists to improve synchronization with relay data.
- Updated WebSocket message size limits to accommodate larger payloads.
- Enhanced logging for better traceability during follow list fetching and event processing.
- Refactored event subscription logic to improve clarity and maintainability.
2025-10-21 16:31:17 +01:00

37 lines
599 B
TOML

[info]
relay_url = "ws://localhost:8080"
name = "nostr-rs-relay benchmark"
description = "A nostr-rs-relay for benchmarking"
pubkey = ""
contact = ""
[database]
data_directory = "/data"
in_memory = false
engine = "sqlite"
[network]
port = 8080
address = "0.0.0.0"
[limits]
messages_per_sec = 0
subscriptions_per_min = 0
max_event_bytes = 65535
max_ws_message_bytes = 104857600
max_ws_frame_bytes = 104857600
[authorization]
pubkey_whitelist = []
[verified_users]
mode = "passive"
domain_whitelist = []
domain_blacklist = []
[pay_to_relay]
enabled = false
[options]
reject_future_seconds = 30