Skip to content

Commit

Permalink
CR's fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed Oct 11, 2023
1 parent 5ccc3aa commit 83e3ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/cache/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ func (rc *RedisCache) Delete(ctx context.Context, key string) error {
}

func (rc *RedisCache) Healthcheck(ctx context.Context) error {
rc.Logger.Trace().Msg("redis healthcheck was called")

// Check if we can connect to Redis
_, err := rc.client.Ping(ctx).Result()
if err != nil {
Expand Down

0 comments on commit 83e3ee9

Please sign in to comment.