lifecycle: fix confusing success messages in startup healthiness check
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
b6267fdf28
commit
d56ddb16b1
|
@ -51,8 +51,7 @@ while True:
|
||||||
except OperationalError as exc:
|
except OperationalError as exc:
|
||||||
sleep(1)
|
sleep(1)
|
||||||
j_print(f"PostgreSQL connection failed, retrying... ({exc})")
|
j_print(f"PostgreSQL connection failed, retrying... ({exc})")
|
||||||
finally:
|
j_print("PostgreSQL connection successful")
|
||||||
j_print("PostgreSQL connection successful")
|
|
||||||
|
|
||||||
REDIS_PROTOCOL_PREFIX = "redis://"
|
REDIS_PROTOCOL_PREFIX = "redis://"
|
||||||
if CONFIG.y_bool("redis.tls", False):
|
if CONFIG.y_bool("redis.tls", False):
|
||||||
|
@ -70,7 +69,6 @@ while True:
|
||||||
except RedisError as exc:
|
except RedisError as exc:
|
||||||
sleep(1)
|
sleep(1)
|
||||||
j_print(f"Redis Connection failed, retrying... ({exc})", redis_url=REDIS_URL)
|
j_print(f"Redis Connection failed, retrying... ({exc})", redis_url=REDIS_URL)
|
||||||
finally:
|
j_print("Redis Connection successful")
|
||||||
j_print("Redis Connection successful")
|
|
||||||
|
|
||||||
j_print("Finished authentik bootstrap")
|
j_print("Finished authentik bootstrap")
|
||||||
|
|
Reference in a new issue