Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(redis-lua): compatibility with dragonfly and lua 5.4 (#65825)
Because there is no way to have a full high availability Redis (cluster, sentinel) compatible with Sentry yet. As an alternative Dragonfly DB can be used. This PR fix the `math.randomseed` that take integers but Sentry send `float`. In lua 5.1 it doesn't seem to be an issue but with lua 5.4 in Dragonfly DB. An other small difference is `redis.log` that don't exist but it's used one time, so I replace it by a `print`. ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. Signed-off-by: Anthony ARNAUD <github@anthony-arnaud.fr> Co-authored-by: Sebastian Zivota <loewenheim@users.noreply.github.com>
- Loading branch information