mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-25 02:06:28 +00:00
max_workers = 4 = so much faster
This commit is contained in:
@@ -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