Skip to content

issues Search Results · repo:jhurliman/node-rate-limiter language:TypeScript

Filter by

59 results
 (68 ms)

59 results

injhurliman/node-rate-limiter (press backspace or delete to remove)

I noticed your commit a few months ago to remove just-performance which is great since Sinon s fake timers miss hooking the performance.now call in this library because of how just-performance saves the ...
  • elyndefigma
  • 2
  • Opened 
    on Nov 22, 2024
  • #98

I am trying to use this library on the API client side, but I have multiple servers that make the calls. Any ideas about how to handle a distributed situation ?
  • ludovicdesuez
  • 1
  • Opened 
    on Sep 6, 2023
  • #94

Currently, this library uses the just-performance polyfill to get current time: https://github.com/jhurliman/node-rate-limiter/blob/25a866d/src/clock.ts And that polyfill loads performance from perf_hooks: ...
  • kevinyou
  • 1
  • Opened 
    on Jan 17, 2023
  • #93

Currently, the number of seconds to wait is this.curIntervalStart + this.tokenBucket.interval - now. Instead I d like to have the limiter wait for just this.tokenBucket.interval instead. Example:- Consider ...
  • GunaShekar02
  • Opened 
    on Jun 9, 2022
  • #91

I am using this package to create cooldowns for certain commands that users run, and I want to be able to tell the user the amount of time they have to wait until they can run the command again. I can ...
  • KevinNovak
  • Opened 
    on Jan 8, 2022
  • #88

Please check https://github.com/bacloud14/rate-limiters-implementation Any thoughts ?
  • ghost
  • 1
  • Opened 
    on Jan 5, 2022
  • #86

I encounter an issue where when I spawn a whole bunch of limiter instances (several thousands). At first, the rate limit is pretty accurate, but at some point it begins to freeze every now and then. And ...
  • pyrsmk
  • 2
  • Opened 
    on Dec 15, 2021
  • #85

When using this on a client site web page, you will also want to rate limit customers that continously refresh your web page. But in this case, the rate limiter will be reinitialized on each page load, ...
  • wzijden
  • Opened 
    on Jul 26, 2021
  • #83

Hi, thanks for your efforts to this lib. I have a use case where I don t know the actually value of amount for giving to removeTokens method until I ve sent the request(AWS DynamoDB in my case). Here ...
  • yaquawa
  • Opened 
    on Jun 1, 2021
  • #82

I am calling an API that makes the specific requirements. 1. You can only call said API 60 times / minute. 2. You can only call said API 1000 times / day. Obviously, you can satisfy the #1 by using ...
  • lynniemagoo
  • Opened 
    on May 30, 2021
  • #81
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub