Skip to content

Commit 945e91a

Browse files
authored
Merge pull request #45975 from nextcloud/fix/stable27/caldav-scheduling-job
[stable27] fix(caldav): lower scheduling table size warning
2 parents eceba30 + 157b5cb commit 945e91a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/settings/lib/SetupChecks/SchedulingTableSize.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(
2424
}
2525

2626
public function description(): string {
27-
return $this->l10n->t('You have more than 500 000 rows in the scheduling objects table. Please run the expensive repair jobs via occ maintenance:repair --include-expensive');
27+
return $this->l10n->t('You have more than 50 000 rows in the scheduling objects table. Please run the expensive repair jobs via occ maintenance:repair --include-expensive');
2828
}
2929

3030
public function severity(): string {
@@ -39,6 +39,6 @@ public function run(): bool {
3939
$count = $query->fetchOne();
4040
$query->closeCursor();
4141

42-
return $count <= 500000;
42+
return $count <= 50000;
4343
}
4444
}

apps/settings/tests/Controller/CheckSetupControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ public function testCheck() {
683683
'temporaryDirectoryWritable' => false,
684684
\OCA\Settings\SetupChecks\LdapInvalidUuids::class => ['pass' => true, 'description' => 'Invalid UUIDs of LDAP users or groups have been found. Please review your "Override UUID detection" settings in the Expert part of the LDAP configuration and use "occ ldap:update-uuid" to update them.', 'severity' => 'warning'],
685685
\OCA\Settings\SetupChecks\NeedsSystemAddressBookSync::class => ['pass' => true, 'description' => 'The DAV system address book sync has not run yet as your instance has more than 1000 users or because an error occured. Please run it manually by calling occ dav:sync-system-addressbook.', 'severity' => 'warning'],
686-
\OCA\Settings\SetupChecks\SchedulingTableSize::class => ['pass' => true, 'description' => 'You have more than 500 000 rows in the scheduling objects table. Please run the expensive repair jobs via occ maintenance:repair --include-expensive', 'severity' => 'warning'],
686+
\OCA\Settings\SetupChecks\SchedulingTableSize::class => ['pass' => true, 'description' => 'You have more than 50 000 rows in the scheduling objects table. Please run the expensive repair jobs via occ maintenance:repair --include-expensive', 'severity' => 'warning'],
687687
'isBruteforceThrottled' => false,
688688
'bruteforceRemoteAddress' => '',
689689
]

0 commit comments

Comments
 (0)