Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Jan 15, 2025
1 parent 3f9765e commit 35c8506
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/torii/runner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ impl Runner {
options = options.journal_mode(SqliteJournalMode::Wal);
options = options.synchronous(SqliteSynchronous::Normal);

let pool =
SqlitePoolOptions::new().min_connections(1).max_connections(self.args.indexing.max_concurrent_tasks as u32).connect_with(options.clone()).await?;
let pool = SqlitePoolOptions::new()
.min_connections(1)
.max_connections(self.args.indexing.max_concurrent_tasks as u32)
.connect_with(options.clone())
.await?;

let readonly_options = options.read_only(true);
let readonly_pool = SqlitePoolOptions::new()
Expand Down

0 comments on commit 35c8506

Please sign in to comment.