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