Skip to content

Commit

Permalink
Fix print...
Browse files Browse the repository at this point in the history
  • Loading branch information
meyer9 committed Dec 13, 2024
1 parent cc46fe0 commit 9202ab3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions proxyd/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package proxyd
import (
"context"
"encoding/json"
"fmt"
"strings"
"time"

Expand Down Expand Up @@ -97,11 +96,9 @@ func (c *redisCache) namespaced(key string) string {
}

func (c *redisCache) Get(ctx context.Context, key string) (string, error) {

start := time.Now()
val, err := c.redisReadClient.Get(ctx, c.namespaced(key)).Result()
redisCacheDurationSumm.WithLabelValues("GET").Observe(float64(time.Since(start).Milliseconds()))
fmt.Println("val", val)

if err == redis.Nil {
return "", nil
Expand Down

0 comments on commit 9202ab3

Please sign in to comment.