Skip to content

Commit 6830cf7

Browse files
committed
fix: larger number of threads
1 parent e7bba1d commit 6830cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl Server {
5353
pub fn start_with_pool(&self, pg_pool: r2d2::Pool<PostgresConnectionManager<NoTls>>) {
5454
let addr = format!("{}:{}", self.listen_addr, self.port);
5555
let listener = TcpListener::bind(&addr).unwrap();
56-
let pool = ThreadPool::new(10);
56+
let pool = ThreadPool::new(100);
5757
let generator = RequestId::init();
5858

5959
log::info!("OxideDB listening on {}...", addr);

0 commit comments

Comments
 (0)