diff options
author | rustdesk <[email protected]> | 2022-05-13 09:56:44 +0800 |
---|---|---|
committer | rustdesk <[email protected]> | 2022-05-13 09:56:44 +0800 |
commit | cb26ce5bbcf3edca54890cc9b82b48c971bacccb (patch) | |
tree | 8f7c36912df75c904dbba07b4238ccc090b95062 /src/database.rs | |
parent | df2e4bb411cd0aa4b46a7cabcde1025b5058ce0f (diff) | |
download | rustdesk-server-cb26ce5bbcf3edca54890cc9b82b48c971bacccb.tar.gz rustdesk-server-cb26ce5bbcf3edca54890cc9b82b48c971bacccb.zip |
remove confusions
Diffstat (limited to 'src/database.rs')
-rw-r--r-- | src/database.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.rs b/src/database.rs index 5a199e6..cf64faf 100644 --- a/src/database.rs +++ b/src/database.rs @@ -55,11 +55,11 @@ impl Database { if !std::path::Path::new(url).exists() { std::fs::File::create(url).ok(); } - let n: usize = std::env::var("MAX_CONNECTIONS") + let n: usize = std::env::var("MAX_DATABASE_CONNECTIONS") .unwrap_or("1".to_owned()) .parse() .unwrap_or(1); - log::info!("MAX_CONNECTIONS={}", n); + log::debug!("MAX_DATABASE_CONNECTIONS={}", n); let pool = Pool::new( DbPool { url: url.to_owned(), |