fix(relay): raise MAX_HISTORICAL_LIMIT from 500 to 10,000 (#486)

This commit is contained in:
tlongwell-block
2026-05-05 20:44:29 +00:00
committed by GitHub
parent ec489c5b1a
commit ceb5afd2d4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ use crate::connection::{AuthState, ConnectionState};
use crate::protocol::RelayMessage;
use crate::state::AppState;
const MAX_HISTORICAL_LIMIT: i64 = 500;
const MAX_HISTORICAL_LIMIT: i64 = 10_000;
const MAX_SUBSCRIPTIONS: usize = 1024;
const P_GATED_KINDS: [u32; 4] = [
KIND_AGENT_OBSERVER_FRAME,
+1 -1
View File
@@ -74,7 +74,7 @@ impl RelayInfo {
max_message_length: Some(MAX_FRAME_BYTES as u64),
max_subscriptions: Some(1024),
max_filters: Some(10),
max_limit: Some(500),
max_limit: Some(10_000),
max_subid_length: Some(256),
min_pow_difficulty: None,
auth_required: config.require_auth_token,