feat(worker): log when workers are ready

This commit is contained in:
Ali BARIN
2022-12-05 23:53:57 +01:00
parent 0abc614a78
commit c5fedda195
3 changed files with 14 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ type TRedisConfig = {
username?: string,
password?: string,
tls?: Record<string, unknown>,
enableReadyCheck?: boolean,
enableOfflineQueue: boolean,
}
@@ -15,6 +16,7 @@ const redisConfig: TRedisConfig = {
username: appConfig.redisUsername,
password: appConfig.redisPassword,
enableOfflineQueue: false,
enableReadyCheck: true,
};
if (appConfig.redisTls) {