Skip to content

issues Search Results · repo:sethvargo/go-limiter language:Go

Filter by

25 results
 (56 ms)

25 results

insethvargo/go-limiter (press backspace or delete to remove)

https://github.com/sethvargo/go-limiter/blob/1a742f09dc99a5f75cccd2bf64e56e6604d780cf/memorystore/store.go#L280 Hello, I m not great in go, but as I can see, you use full lock in area where you can use ...
  • AlixMil
  • 1
  • Opened 
    on Dec 17, 2024
  • #49

The limit of tokens per key is handled by go-limiter. Additionally I would like to also limit by the max number of keys itself. Is there an existing function for the same? If not, could you expose the ...
  • sundarv85
  • 1
  • Opened 
    on Sep 28, 2024
  • #48

image If the server time is adjusted to a previous time, the condition b. lastTick currTick will not occur, and b. availabilityTokens will quickly drop to 0, and subsequent requests will be restricted ...
  • yujiangjiang
  • 1
  • Opened 
    on Oct 30, 2023
  • #41

Hey, this comment in fasttime.go is a lie: Now returns a monotonic clock value In fact, you re reading both wall time and monotonic time, and only using the wall time. You likely want this instead: ...
  • andreyvit
  • 1
  • Opened 
    on May 2, 2023
  • #39

Hello, many thanks for the library with a great performance and nice API. It s written in readme that: While go-limit supports rate limiting at the HTTP layer, it can also be used to rate limit literally ...
  • FZambia
  • 2
  • Opened 
    on Dec 29, 2022
  • #38

Is it possible to bypass the rate limiter by some custom header? or maybe a custom bypasser function? Sorry if the question was asked before, i just couldn t find much,
  • acbeni
  • 3
  • Opened 
    on Nov 28, 2022
  • #37

Apologies if this is a naive question. New to this area and researching my options. It looks like the leaky-bucket algorithm, but I haven t seen that stated explicitly anywhere.
  • cjellick
  • 2
  • Opened 
    on Jul 18, 2022
  • #36

Looks like a false trap that context that Take takes as a parameter.
  • ciokan
  • 5
  • Opened 
    on May 30, 2022
  • #35

https://datatracker.ietf.org/doc/html/rfc7807 Allow introducing custom response behavior for 429 status code, Problem Details as an example. Should not bring breaking changes, just will introduce new config ...
  • dmytrohridin
  • 2
  • Opened 
    on May 9, 2022
  • #34

https://datatracker.ietf.org/doc/html/rfc6648 Can you introduce the possibility of customizing response header names (except for HeaderRetryAfter, since it s part of 429 response)? This change can be ...
  • dmytrohridin
  • 2
  • Opened 
    on May 9, 2022
  • #33
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 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