mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
max_workers = 4 = so much faster
This commit is contained in:
@@ -17,4 +17,4 @@ sha-1 = "0.10"
|
||||
toml = "0.5"
|
||||
serde = "1"
|
||||
serde_derive = "1"
|
||||
regex = "1"
|
||||
regex = "1"
|
||||
@@ -40,7 +40,7 @@ mod sharding;
|
||||
use pool::{ClientServerMap, ConnectionPool};
|
||||
|
||||
/// Main!
|
||||
#[tokio::main]
|
||||
#[tokio::main(worker_threads = 4)]
|
||||
async fn main() {
|
||||
println!("> Welcome to PgCat! Meow.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user