mirror of https://github.com/LemmyNet/lemmy.git
Merge branch 'main' into alpha_order_communities
commit
f1c01544b9
|
@ -73,6 +73,7 @@ async fn main() -> Result<(), LemmyError> {
|
|||
})
|
||||
.await??;
|
||||
|
||||
// Schedules various cleanup tasks for the DB
|
||||
let pool2 = pool.clone();
|
||||
thread::spawn(move || {
|
||||
scheduled_tasks::setup(pool2).expect("Couldn't set up scheduled_tasks");
|
||||
|
|
Loading…
Reference in New Issue