Skip to content

Commit

Permalink
[State Sync] Enable subscription syncing by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind committed Oct 5, 2023
1 parent d013f9b commit 8b63f40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/src/config/state_sync_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,14 @@ pub struct DataStreamingServiceConfig {
impl Default for DataStreamingServiceConfig {
fn default() -> Self {
Self {
enable_subscription_streaming: false,
enable_subscription_streaming: true,
global_summary_refresh_interval_ms: 50,
max_concurrent_requests: MAX_CONCURRENT_REQUESTS,
max_concurrent_state_requests: MAX_CONCURRENT_STATE_REQUESTS,
max_data_stream_channel_sizes: 300,
max_request_retry: 5,
max_notification_id_mappings: 300,
max_num_consecutive_subscriptions: 50,
max_num_consecutive_subscriptions: 40, // At ~4 blocks per second, this should last 10 seconds
progress_check_interval_ms: 50,
}
}
Expand Down

0 comments on commit 8b63f40

Please sign in to comment.