mirror of
https://github.com/redis/go-redis.git
synced 2025-10-18 22:08:50 +03:00
feat: RESP3 notifications support & Hitless notifications handling [CAE-1088] & [CAE-1072] (#3418)
- Adds support for handling push notifications with RESP3. - Using this support adds handlers for hitless upgrades. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Hristo Temelski <hristo.temelski@redis.com>
This commit is contained in:
@@ -3019,7 +3019,8 @@ var _ = Describe("Commands", func() {
|
||||
|
||||
res, err = client.HPTTL(ctx, "myhash", "key1", "key2", "key200").Result()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(res[0]).To(BeNumerically("~", 10*time.Second.Milliseconds(), 1))
|
||||
// overhead of the push notification check is about 1-2ms for 100 commands
|
||||
Expect(res[0]).To(BeNumerically("~", 10*time.Second.Milliseconds(), 2))
|
||||
})
|
||||
|
||||
It("should HGETDEL", Label("hash", "HGETDEL"), func() {
|
||||
|
Reference in New Issue
Block a user