Browse Source

Fix bug in previous commit.

master
rewby 10 months ago
parent
commit
fcba319f4c
Signed by: rewby GPG Key ID: 4C2B6D2972EE5423
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/client_manager.rs

+ 1
- 1
src/client_manager.rs View File

@@ -15,7 +15,7 @@ fn pool_from_redisinfo(info: &TrackerRedisInfo) -> color_eyre::Result<Pool<Clien
let new_client = Client::open(url)?;

let max_pool_size = std::env::var("MAX_REDIS_POOL_SIZE")
.unwrap_or_else(|| "32".to_string())
.unwrap_or_else(|_| "32".to_string())
.parse()
.unwrap_or(32);



Loading…
Cancel
Save