mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 19:31:33 +00:00
Adding a test comment. (#2081)
This commit is contained in:
parent
d71e1c06e2
commit
2ac6e1a463
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ async fn main() -> Result<(), LemmyError> {
|
||||||
})
|
})
|
||||||
.await??;
|
.await??;
|
||||||
|
|
||||||
|
// Schedules various cleanup tasks for the DB
|
||||||
let pool2 = pool.clone();
|
let pool2 = pool.clone();
|
||||||
thread::spawn(move || {
|
thread::spawn(move || {
|
||||||
scheduled_tasks::setup(pool2).expect("Couldn't set up scheduled_tasks");
|
scheduled_tasks::setup(pool2).expect("Couldn't set up scheduled_tasks");
|
||||||
|
|
Loading…
Reference in a new issue