mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-26 04:41:31 +00:00
y
This commit is contained in:
parent
ff8f0902f4
commit
e3bd01ab33
2 changed files with 2 additions and 3 deletions
|
@ -5,8 +5,7 @@ variables:
|
||||||
- &muslrust_image "clux/muslrust:1.70.0"
|
- &muslrust_image "clux/muslrust:1.70.0"
|
||||||
- &slow_check_paths
|
- &slow_check_paths
|
||||||
- path: &when_path
|
- path: &when_path
|
||||||
- "crates"
|
- "**/*.rs"
|
||||||
- "src"
|
|
||||||
- "Cargo.toml"
|
- "Cargo.toml"
|
||||||
- "migrations"
|
- "migrations"
|
||||||
- "api_tests"
|
- "api_tests"
|
||||||
|
|
|
@ -66,7 +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
|
/// Placing the main function in lib.rs allows other crates to import it and embed Lemmy
|
||||||
pub async fn start_lemmy_server() -> Result<(), LemmyError> {
|
pub async fn start_lemmy_server() -> Result<(), LemmyError> {
|
||||||
println!("test 3");
|
println!("test 4");
|
||||||
let args: Vec<String> = env::args().collect();
|
let args: Vec<String> = env::args().collect();
|
||||||
|
|
||||||
let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string());
|
let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string());
|
||||||
|
|
Loading…
Reference in a new issue