change rust

woodpecker-path-conditions-2
Felix Ableitner 2023-08-01 11:20:07 +02:00
parent d794329282
commit a627fc30b2
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ pub(crate) const REQWEST_TIMEOUT: Duration = Duration::from_secs(10);
/// Placing the main function in lib.rs allows other crates to import it and embed Lemmy
pub async fn start_lemmy_server() -> Result<(), LemmyError> {
println!("test");
let args: Vec<String> = env::args().collect();
let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string());