Is there a bug in the LazyLock function?
⚓ Rust 📅 2026-01-16 👤 surdeus 👁️ 1I'm not quite sure if this is a problem with LazyLock.
When I was testing the database connection, this connection proved to be valid.
At that time, when I used [DB_CONNECTION.deref()] as a global variable, the database kept timing out during the connection.
3 posts - 2 participants
🏷️ Rust_feed
