mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(relay): raise MAX_HISTORICAL_LIMIT from 500 to 10,000 (#486)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user