upstash / ratelimit-js

Rate limiting library for serverless runtimes
https://ratelimit-with-vercel-kv.vercel.app
MIT License
1.65k stars 33 forks source link

Improve waitUntil docs #94

Closed CahidArda closed 5 months ago

CahidArda commented 5 months ago

Improved README file with regards to the pending field and usage of waitUntil.

Additionally, fixed an issue in fixedWindow and slidingWindow algorithms. We didn't compare the number with incrementBy properly and PEXPIRE was never called.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ratelimit-with-vercel-kv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 7:42am