Remove wait-for-ready log (#4956)
This commit is contained in:
@@ -34,8 +34,7 @@ export const checkServerStatus = async (client: Client): Promise<boolean> => {
|
|||||||
try {
|
try {
|
||||||
await status({ client, throwOnError: true });
|
await status({ client, throwOnError: true });
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch {
|
||||||
log.error('failure to connect, will retry', error);
|
|
||||||
if (attempt === maxAttempts) {
|
if (attempt === maxAttempts) {
|
||||||
log.error(`Server failed to respond after ${(interval * maxAttempts) / 1000} seconds`);
|
log.error(`Server failed to respond after ${(interval * maxAttempts) / 1000} seconds`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user