Skip to content

do not log on lock#31

Open
shahabeshaghi67 wants to merge 2 commits intomainfrom
fix/shared_redis_lock
Open

do not log on lock#31
shahabeshaghi67 wants to merge 2 commits intomainfrom
fix/shared_redis_lock

Conversation

@shahabeshaghi67
Copy link
Copy Markdown
Collaborator

Fixes #????

PR Checklist

  • Tests
  • Passing Pipeline
  • Documentation

bshramin
bshramin previously approved these changes Jul 4, 2022
Comment thread redis/shared.go Outdated
if val, err := cmd.Result(); err != nil || val == false {
logrus.Infof("goxy:SharedFetch:%s-lock:%v", key, err)
return err
return fmt.Errorf("goxy:SharedFetch:%s-lock:already locked", key)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the error is not "already locked" maybe it's connection refused or something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants