mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
feat: logic for remote user deletion, cronjob, and ACP options for pruning options
re: #12611
This commit is contained in:
@@ -45,6 +45,7 @@ ActivityPub.actors = require('./actors');
|
||||
ActivityPub.startJobs = () => {
|
||||
// winston.verbose('[activitypub/jobs] Registering jobs.');
|
||||
new CronJob('0 0 * * *', ActivityPub.notes.prune, null, true, null, null, false); // change last argument to true for debugging
|
||||
new CronJob('0 1 * * *', ActivityPub.actors.prune, null, true, null, null, false); // change last argument to true for debugging
|
||||
};
|
||||
|
||||
ActivityPub.resolveId = async (uid, id) => {
|
||||
|
||||
Reference in New Issue
Block a user