mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
preload creds manager
This commit is contained in:
@@ -108,6 +108,10 @@ impl Data {
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
log::info!("Initializing credential manager");
|
||||
creds.init();
|
||||
log::info!("Initialized credential manager");
|
||||
|
||||
let data = match &SETTINGS.redis {
|
||||
Some(val) => {
|
||||
let master = RedisMaster::new(RedisConfig::Single(val.url.clone()))
|
||||
|
||||
Reference in New Issue
Block a user