Skip to content

Commit

Permalink
fix(redis): Apply instrumentation only for Redis <4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
punya committed Aug 29, 2022
1 parent fbc9d9d commit b75f5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/plugin-redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function unwrapInstallStreamListeners(redis) {
module.exports = [
{
file: '',
versions: '>=2.6',
versions: '>=2.6 <4.0',
patch: function (redis, api) {
wrapCreateStream(redis, api);
wrapInternalSendCommand(redis, api);
Expand Down

0 comments on commit b75f5d8

Please sign in to comment.