Skip to content

Commit

Permalink
Update class-scheduler.php (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
janboddez authored Jan 27, 2024
1 parent 2b8480f commit a1f5133
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/class-scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ public static function update_followers() {
$number = 50;
}

$number = apply_filters( 'activitypub_update_followers_number', $number );
$followers = Followers::get_outdated_followers( $number );

foreach ( $followers as $follower ) {
Expand All @@ -246,6 +247,7 @@ public static function cleanup_followers() {
$number = 50;
}

$number = apply_filters( 'activitypub_update_followers_number', $number );
$followers = Followers::get_faulty_followers( $number );

foreach ( $followers as $follower ) {
Expand Down

0 comments on commit a1f5133

Please sign in to comment.