Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: Replace setex with set in gql rate limit code #866

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

ajay-sentry
Copy link
Contributor

Purpose/Motivation

https://redis.io/docs/latest/commands/setex/

Setex looks to be deprecated in favor of set, thanks @nora-codecov for letting me know! This PR just updates the GQL rate limit code from setex to set and defines the function params explicitly

Notes to Reviewer

Anything to note to the team? Any tips on how to review, or where to start?

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. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this 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.

@ajay-sentry ajay-sentry requested a review from a team as a code owner October 7, 2024 23:06
Copy link

codecov bot commented Oct 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.33%. Comparing base (b71cd91) to head (27b2df7).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #866   +/-   ##
=======================================
  Coverage   96.33%   96.33%           
=======================================
  Files         820      820           
  Lines       19101    19101           
=======================================
  Hits        18401    18401           
  Misses        700      700           
Flag Coverage Δ
unit 92.68% <100.00%> (ø)
unit-latest-uploader 92.68% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ajay-sentry ajay-sentry added this pull request to the merge queue Oct 7, 2024
Merged via the queue into main with commit 6d4dbd4 Oct 7, 2024
18 of 19 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/change-setex-to-set branch October 7, 2024 23:33
suejung-sentry added a commit that referenced this pull request Oct 8, 2024
ref: Replace setex with set in gql rate limit code (#866)
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.

3 participants