Fix Timing of clearRequestId and Update Trackers Type Parameter - #8355
Fix Timing of clearRequestId and Update Trackers Type Parameter#8355saurabhhhcodes wants to merge 1 commit into
Conversation
|
Someone is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
This PR improves the timing of the clearRequestId function to ensure that the request ID is available for downstream handlers, which is crucial for tracking requests accurately. Additionally, it corrects the type parameter for trackers in the rate-limiting library to align with the expected usage, as discussed in previous decisions regarding type consistency. These changes enhance the reliability of the middleware and align with our ongoing efforts to improve the architecture of our security measures. Thank you for your contributions! |
|
👋 Hey @saurabhhhcodes! Thanks for your contribution! 🎉 Unfortunately, this PR has been automatically closed because it is not linked to any open issue. To resolve this, please do the following:
We look forward to reviewing your PR once an issue is linked! 🚀 |
Changes