diff --git a/lib/Service/SyncService.php b/lib/Service/SyncService.php index 448f2e0b9..5de118a4f 100644 --- a/lib/Service/SyncService.php +++ b/lib/Service/SyncService.php @@ -146,7 +146,9 @@ public function sync(int $sync = self::SYNC_ALL): void { $this->syncApps(); } - if ($this->shouldSync(self::SYNC_USERS, $sync)) { + // This is useless and too heavy on load + // we keep it available when running ./occ circles:sync --users + if ($sync === self::SYNC_USERS) { $this->syncNextcloudUsers(); }