(accountId: string)
| 54 | } |
| 55 | |
| 56 | export async function clearDeadFlag(accountId: string): Promise<void> { |
| 57 | const redis = getRedisClient() |
| 58 | if (!redis) return |
| 59 | try { |
| 60 | await redis.del(deadKey(accountId)) |
| 61 | } catch (error) { |
| 62 | logger.warn('Failed to clear terminal error flag from Redis', { |
| 63 | accountId, |
| 64 | error: toError(error).message, |
| 65 | }) |
| 66 | } |
| 67 | } |
no test coverage detected