Skip to content

Commit 962242b

Browse files
committed
chore: less errors in cron if no nodes alive
1 parent 7ab9dab commit 962242b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/ColdTrick/OpenSearch/Cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function minuteSync(\Elgg\Event $event): void {
2727
}
2828

2929
$service = IndexingService::instance();
30-
if (!$service->isClientReady()) {
30+
if (!$service->isClientReady() || !$service->ping()) {
3131
return;
3232
}
3333

0 commit comments

Comments
 (0)