Skip to content

Commit

Permalink
Chore/increase sled init timeout (#165)
Browse files Browse the repository at this point in the history
* chore: increase sled init timeout to 6000s

* chore: increase default timeout to 6000s
  • Loading branch information
avatxus authored Jun 3, 2024
1 parent f6c09c6 commit a593efd
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/enrich/skip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Bootstrapper {
pipeline.register_stage(spawn_stage(
worker,
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
..Default::default()
},
Some("enrich-skip"),
Expand Down
6 changes: 3 additions & 3 deletions src/reducers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ pub mod address_by_asset;
#[cfg(feature = "unstable")]
pub mod address_by_txo;
#[cfg(feature = "unstable")]
pub mod addresses_by_stake;
#[cfg(feature = "unstable")]
pub mod asset_holders_by_asset_id;
#[cfg(feature = "unstable")]
pub mod balance_by_address;
Expand All @@ -39,8 +41,6 @@ pub mod tx_count_by_native_token_policy_id;
pub mod utxo_by_stake;
#[cfg(feature = "unstable")]
pub mod utxos_by_asset;
#[cfg(feature = "unstable")]
pub mod addresses_by_stake;

#[derive(Deserialize)]
#[serde(tag = "type")]
Expand Down Expand Up @@ -155,7 +155,7 @@ impl Bootstrapper {
pipeline.register_stage(spawn_stage(
worker,
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
..Default::default()
},
Some("reducers"),
Expand Down
2 changes: 1 addition & 1 deletion src/sources/n2c/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl Bootstrapper {
self.output,
),
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
bootstrap_retry: gasket::retries::Policy {
max_retries: 20,
backoff_factor: 2,
Expand Down
2 changes: 1 addition & 1 deletion src/sources/n2n/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl Bootstrapper {
self.output,
),
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
bootstrap_retry: gasket::retries::Policy {
max_retries: 20,
backoff_factor: 2,
Expand Down
2 changes: 1 addition & 1 deletion src/storage/elastic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Bootstrapper {
pipeline.register_stage(spawn_stage(
worker,
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
bootstrap_retry: gasket::retries::Policy {
max_retries: 20,
backoff_unit: Duration::from_secs(1),
Expand Down
2 changes: 1 addition & 1 deletion src/storage/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Bootstrapper {
pipeline.register_stage(spawn_stage(
worker,
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
bootstrap_retry: gasket::retries::Policy {
max_retries: 20,
backoff_unit: Duration::from_secs(1),
Expand Down
2 changes: 1 addition & 1 deletion src/storage/skip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Bootstrapper {
pipeline.register_stage(spawn_stage(
worker,
gasket::runtime::Policy {
tick_timeout: Some(Duration::from_secs(600)),
tick_timeout: Some(Duration::from_secs(6000)),
..Default::default()
},
Some("skip"),
Expand Down

0 comments on commit a593efd

Please sign in to comment.