Skip to content

Commit b486651

Browse files
committed
feat(contrib/redis/rueidis): add SetOnInvalidations to dedicatedClient
1 parent 43ac765 commit b486651

10 files changed

Lines changed: 17 additions & 12 deletions

File tree

contrib/redis/rueidis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.25.0
44

55
require (
66
github.com/DataDog/dd-trace-go/v2 v2.9.0-dev
7-
github.com/redis/rueidis v1.0.72
7+
github.com/redis/rueidis v1.0.74
88
github.com/stretchr/testify v1.11.1
99
)
1010

contrib/redis/rueidis/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/redis/rueidis/rueidis.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ func (c *dedicatedClient) SetPubSubHooks(hooks rueidis.PubSubHooks) <-chan error
218218
return c.dedicatedClient.SetPubSubHooks(hooks)
219219
}
220220

221+
func (c *dedicatedClient) SetOnInvalidations(fn func([]rueidis.RedisMessage)) <-chan error {
222+
return c.dedicatedClient.SetOnInvalidations(fn)
223+
}
224+
221225
type commander interface {
222226
Commands() []string
223227
}

go.work.sum

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

instrumentation/internal/namingschematest/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ require (
9090
github.com/labstack/echo/v4 v4.13.3
9191
github.com/lib/pq v1.11.1
9292
github.com/redis/go-redis/v9 v9.7.3
93-
github.com/redis/rueidis v1.0.72
93+
github.com/redis/rueidis v1.0.74
9494
github.com/segmentio/kafka-go v0.4.42
9595
github.com/stretchr/testify v1.11.1
9696
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d

instrumentation/internal/namingschematest/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/orchestrion/_integration/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ require (
4444
github.com/labstack/echo/v4 v4.13.3
4545
github.com/mattn/go-sqlite3 v1.14.22
4646
github.com/redis/go-redis/v9 v9.7.3
47-
github.com/redis/rueidis v1.0.72
47+
github.com/redis/rueidis v1.0.74
4848
github.com/rs/zerolog v1.34.0
4949
github.com/segmentio/kafka-go v0.4.42
5050
github.com/sirupsen/logrus v1.9.4

internal/orchestrion/_integration/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

orchestrion/all/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ require (
227227
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect
228228
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
229229
github.com/redis/go-redis/v9 v9.7.3 // indirect
230-
github.com/redis/rueidis v1.0.72 // indirect
230+
github.com/redis/rueidis v1.0.74 // indirect
231231
github.com/richardartoul/molecule v1.0.1-0.20240531184615-7ca0df43c0b3 // indirect
232232
github.com/rivo/uniseg v0.4.7 // indirect
233233
github.com/rs/zerolog v1.34.0 // indirect

orchestrion/all/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)