Skip to content

Commit 38fd233

Browse files
committed
default to 3 concurrency for import
1 parent fdb6904 commit 38fd233

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

synth/src/cli/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl<'w> Cli {
123123
uri: URI::try_from(cmd.from.as_str())
124124
.with_context(|| format!("Parsing import URI '{}'", cmd.from))?,
125125
schema: cmd.schema,
126-
concurrency: 1,
126+
concurrency: 3,
127127
}
128128
.try_into()?;
129129

synth/src/cli/mysql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl ImportStrategy for MySqlImportStrategy {
3535
fn import(&self) -> Result<Namespace> {
3636
let connect_params = MySqlConnectParams {
3737
uri: self.uri_string.clone(),
38-
concurrency: 1,
38+
concurrency: 3,
3939
};
4040
let datasource = MySqlDataSource::new(&connect_params)?;
4141

synth/src/cli/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl ImportStrategy for PostgresImportStrategy {
3939
let connect_params = PostgresConnectParams {
4040
uri: self.uri_string.clone(),
4141
schema: self.schema.clone(),
42-
concurrency: 1,
42+
concurrency: 3,
4343
};
4444

4545
let datasource = PostgresDataSource::new(&connect_params)?;

0 commit comments

Comments
 (0)