Skip to content

Commit

Permalink
add a note about hmset v hset
Browse files Browse the repository at this point in the history
  • Loading branch information
saponifi3d committed Jul 31, 2024
1 parent 1cd92fe commit 834445d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sentry/buffer/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def callback(self, buffer_hook_event: BufferHookEvent) -> bool:
redis_buffer_registry = BufferHookRegistry()


# Note HMSET is not supported after redis 4.0.0, after updating we can use HSET directly.
class RedisOperation(Enum):
SORTED_SET_ADD = "zadd"
SORTED_SET_GET_RANGE = "zrangebyscore"
Expand Down

0 comments on commit 834445d

Please sign in to comment.