dont lock up the connection whilest sending fragments
This commit is contained in:
parent
9275f3b09f
commit
dc6307cfcf
3 changed files with 947 additions and 677 deletions
|
|
@ -22,6 +22,7 @@ const IP_REQ_SERVICE_URL: &str = "https://ipinfo.io/ip";
|
|||
|
||||
cfg_if! {
|
||||
if #[cfg(feature = "datastore")] {
|
||||
use std::sync::{LazyLock, OnceLock};
|
||||
pub static RNEX_DATASTORE_DATABASE_URL: LazyLock<String> = LazyLock::new(|| {
|
||||
std::env::var("RNEX_DATASTORE_DATABASE_URL")
|
||||
.expect("RNEX_DATASTORE_DATABASE_URL must be set")
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue