mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-18 21:25:09 +01:00
@@ -47,6 +47,8 @@ impl ResourceManager for SqliteConnectionManager {
|
||||
"#,
|
||||
)?;
|
||||
|
||||
conn.busy_timeout(Duration::from_secs(10))?;
|
||||
|
||||
Ok(conn)
|
||||
}
|
||||
}
|
||||
@@ -81,7 +83,7 @@ pub fn create_sqlite_pool(
|
||||
)
|
||||
};
|
||||
|
||||
Pool::new(config, max_size, Duration::from_secs(5))
|
||||
Pool::new(config, max_size, Duration::from_secs(10))
|
||||
}
|
||||
|
||||
/// Migrates the migration generated by `build.rs`
|
||||
|
||||
Reference in New Issue
Block a user