summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8ada3a0..e5cb1bb 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -76,7 +76,7 @@ async fn main() {
let db = config.db_file.as_str();
info!(db, "Opening database...");
- let db: DbPool = database::open(db)
+ let db: DbPool = database::open(db, config.sqlite_thread_pool_size)
.await.expect(&*format!("cannot open database {}", db));
info!("Spawning bot coroutine...");