Merge branch 'main' into alpha_order_communities

alpha_order_communities
Dessalines 2022-02-01 14:12:53 -05:00 committed by GitHub
commit f1c01544b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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");