mirror of
https://github.com/Portabase/agent.git
synced 2026-10-15 09:01:44 +00:00
fix: Agent panics with rustls CryptoProvider
This commit is contained in:
+2
-1
@@ -15,9 +15,10 @@ use utils::task_manager::scheduler;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
|
||||
|
||||
logging::init_logger();
|
||||
|
||||
// Remove all locks on startup
|
||||
if let Err(e) = FileLock::clean_startup().await {
|
||||
eprintln!("Failed to clean locks on startup: {:?}", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user