Skip to content

Commit

Permalink
[Configs] Enable state sync v2 by default. (aptos-labs#658)
Browse files Browse the repository at this point in the history
* [Configs] Enable state sync v2 by default.

* [Smoke Test] Disable flaky smoke test.

Co-authored-by: Josh Lind <[email protected]>
  • Loading branch information
JoshLind and JoshLind authored Apr 27, 2022
1 parent c13d897 commit 02c7ade
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/src/config/state_sync_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Default for StateSyncDriverConfig {
fn default() -> Self {
Self {
bootstrapping_mode: BootstrappingMode::ApplyTransactionOutputsFromGenesis,
enable_state_sync_v2: false,
enable_state_sync_v2: true,
continuous_syncing_mode: ContinuousSyncingMode::ApplyTransactionOutputs,
progress_check_interval_ms: 100,
max_connection_deadline_secs: 10,
Expand Down Expand Up @@ -124,7 +124,7 @@ impl Default for StorageServiceConfig {
max_network_channel_size: 1000,
max_transaction_chunk_size: 1000,
max_transaction_output_chunk_size: 1000,
storage_summary_refresh_interval_ms: 1000,
storage_summary_refresh_interval_ms: 250,
}
}
}
Expand Down Expand Up @@ -158,7 +158,7 @@ pub struct DataStreamingServiceConfig {
impl Default for DataStreamingServiceConfig {
fn default() -> Self {
Self {
global_summary_refresh_interval_ms: 300,
global_summary_refresh_interval_ms: 250,
max_concurrent_requests: 1,
max_data_stream_channel_sizes: 1000,
max_request_retry: 3,
Expand All @@ -179,7 +179,7 @@ impl Default for AptosDataClientConfig {
fn default() -> Self {
Self {
response_timeout_ms: 10000,
summary_poll_interval_ms: 1000,
summary_poll_interval_ms: 250,
}
}
}
2 changes: 2 additions & 0 deletions testsuite/smoke-test/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ async fn test_connection_limiting() {
);
}

// Currently this test seems flaky: https://github.com/aptos-labs/aptos-core/issues/670
#[ignore]
#[tokio::test]
async fn test_file_discovery() {
let mut swarm = new_local_swarm_with_aptos(1).await;
Expand Down

0 comments on commit 02c7ade

Please sign in to comment.