Skip to content

Switch RedisRateLimiter's redis instance#7758

Merged
zachmargolis merged 3 commits intomainfrom
margolis-move-redis-rate-limiter
Feb 2, 2023
Merged

Switch RedisRateLimiter's redis instance#7758
zachmargolis merged 3 commits intomainfrom
margolis-move-redis-rate-limiter

Conversation

@zachmargolis
Copy link
Contributor

Why: So that throttles/short lived things live in the same instance

Notes:
I confirmed that the keyspace for this is empty in prod (it's only used in RISC outgoing notifications which are not super frequent right now), so this should be a very safe migration

REDIS_POOL.with { |r| r.scan(0, match: 'redis-rate-limiter*') }
=> ["1152", []]

**Why**: So that throttles/short lived things live in the same instance

changelog: Internal, Rate limiting, Update redis rate limiting configuration
@zachmargolis zachmargolis merged commit db68a42 into main Feb 2, 2023
@zachmargolis zachmargolis deleted the margolis-move-redis-rate-limiter branch February 2, 2023 21:04
@aduth aduth mentioned this pull request Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants