Skip to content

Commit

Permalink
increase connection pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyke-bot committed Jan 19, 2024
1 parent 72d550a commit a3e34ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ async fn main() -> std::io::Result<()> {

let redis_client = redis::Client::open(arg.redis_url).expect("Failed to create Redis client");
let redis_con_pool = r2d2::Pool::builder()
.max_size(10)
.max_size(300)
.build(redis_client).expect("Failed to create Redis connection pool");

let mut app_state = AppState {
Expand Down

0 comments on commit a3e34ab

Please sign in to comment.