-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: redis v7 support This PR upgrades the upstream redis library to v9 which introduces support for Redis v7. There have been a number of changes to the upstream configuration struct highlighted below: * Renamed: `MaxConnAge` -> `ConnMaxLifetime` * Renamed: `IdleTimeout` -> `ConnMaxIdleTime` * Renamed: `SlaveOnly` -> `ReplicaOnly` * Removed: `IdleCheckFrequency` connection reaper in favor of `MaxIdleConnections` The renamed items have been remapped to the respective configuration upstream without any name changes. If you prefer that we match the options I can adjust that, just let me know. * refactor: build tags locking v9 redis library to go1.19+ * refactor: factorize code and include old fields as deprecated * fix: typo in deprecation text * fix: undefined errors
- Loading branch information
Showing
7 changed files
with
604 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.