RedisLock not returning connections to the pool

Description

When using the redisLock to create a distributed lock, new connections are created every time the lock is hit, eventually hitting maxConnections and throwing an error

To reproduce, set maxConnections to a small number, then create a page with redisLock, hit the page more than maxConnections and you will get a stack trace

Environment

None

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Sentry

Created December 1, 2024 at 10:04 PM
Updated December 2, 2024 at 9:17 AM