The priority is now a class constant

This commit is contained in:
Michael 2022-10-17 05:49:55 +00:00
parent b33b70f0ab
commit 018858934b
46 changed files with 148 additions and 151 deletions

View file

@ -53,10 +53,10 @@ class ExpirePosts
}
// Set the expiry for origin posta
Worker::add(PRIORITY_LOW, 'Expire');
Worker::add(Worker::PRIORITY_LOW, 'Expire');
// update nodeinfo data after everything is cleaned up
Worker::add(PRIORITY_LOW, 'NodeInfo');
Worker::add(Worker::PRIORITY_LOW, 'NodeInfo');
}
/**