Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dependencies): bump to souin v1.6.46 #70

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

darkweak
Copy link
Collaborator

No description provided.

@darkweak darkweak self-assigned this Feb 12, 2024
Comment on lines -253 to 274
case "Network", "Addr", "Username", "Password":
case "InitAddress":
if s, ok := v.(string); ok {
c[k] = []string{s}
} else {
c[k] = v
}
case "Username", "Password", "ClientName", "ClientSetInfo", "ClientTrackingOptions":
c[k] = v
case "PoolFIFO":
case "SendToReplicas", "ShuffleInit", "ClientNoTouch", "DisableRetry", "DisableCache", "AlwaysPipelining", "AlwaysRESP2", "ForceSingleClient", "ReplicaOnly", "ClientNoEvict":
c[k] = true
case "DB", "MaxRetries", "PoolSize", "MinIdleConns", "MaxIdleConns":
case "SelectDB", "CacheSizeEachConn", "RingScaleEachConn", "ReadBufferEachConn", "WriteBufferEachConn", "BlockingPoolSize", "PipelineMultiplex":
c[k], _ = strconv.Atoi(v.(string))
case "MinRetryBackoff", "MaxRetryBackoff", "DialTimeout", "ReadTimeout", "WriteTimeout", "PoolTimeout", "ConnMaxIdleTime", "ConnMaxLifetime":
case "ConnWriteTimeout", "MaxFlushDelay":
c[k], _ = time.ParseDuration(v.(string))
}
Copy link
Member

Choose a reason for hiding this comment

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

This breaks existing users, right? I just need to know to give heads up to a user I'm in touch with.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, we switched from go-redis to rueidis

@darkweak darkweak force-pushed the feat/dependencies/bump-to-souin-v1.6.46 branch from b244ec6 to f493f5b Compare February 12, 2024 21:44
@darkweak darkweak force-pushed the feat/dependencies/bump-to-souin-v1.6.46 branch from f493f5b to ab26f61 Compare February 12, 2024 21:46
@darkweak darkweak merged commit a3fd430 into master Feb 12, 2024
3 checks passed
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