|
All checks were successful
BotServer CI / build (push) Successful in 8m38s
The init_redis() function was using synchronous blocking calls (redis::Client::get_connection()) inside an async function, which blocked the entire tokio runtime and caused botserver to freeze. Changes: - Wrap Redis connection calls in tokio::task::spawn_blocking() - Runs blocking operations in separate thread pool - Prevents tokio runtime from freezing during cache connection This fixes the issue where botserver would hang indefinitely when connecting to Valkey/Redis cache. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bootstrap.rs | ||
| drive_utils.rs | ||
| health.rs | ||
| mod.rs | ||
| server.rs | ||
| shutdown.rs | ||
| types.rs | ||