Return health for web3proxy
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Managing.Api.HealthChecks
|
||||
// Parse checks if available
|
||||
if (!isProduction && root.TryGetProperty("checks", out var checksElement))
|
||||
{
|
||||
// Extract Privy check
|
||||
// Extract Privy cheunck
|
||||
if (checksElement.TryGetProperty("privy", out var privyElement))
|
||||
{
|
||||
var privyData = new Dictionary<string, object>();
|
||||
@@ -155,7 +155,7 @@ namespace Managing.Api.HealthChecks
|
||||
}
|
||||
|
||||
// Extract Redis check
|
||||
if (checksElement.TryGetProperty("redis", out var redisElement))
|
||||
if (!isProduction && checksElement.TryGetProperty("redis", out var redisElement))
|
||||
{
|
||||
var redisData = new Dictionary<string, object>();
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace Managing.Api.HealthChecks
|
||||
}
|
||||
|
||||
// Determine overall health result based on status
|
||||
if (!isProduction && status.ToLower() == "healthy")
|
||||
if (status.ToLower() == "healthy")
|
||||
{
|
||||
return HealthCheckResult.Healthy(
|
||||
"Web3Proxy is healthy",
|
||||
|
||||
Reference in New Issue
Block a user