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

Add quotas to Permits #3333

Merged
merged 11 commits into from
Mar 9, 2021
Merged

Add quotas to Permits #3333

merged 11 commits into from
Mar 9, 2021

Commits on Mar 7, 2021

  1. Add quotas to Permits

    Allows a Permit impl to decide how much quota a caller is allowed to use
    for each Permit acquired. Having a quota > 1 is a nice performance
    optimization to avoid having to acquire a permit everytime a resource is
    consumed.
    
    Additionally the new Permit structure allows tracking if a Permit is
    acquired/released more than once by a caller using a refCount. Allows
    catching bugs in tests by panicing.
    ryanhall07 committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    0cbf9ff View commit details
    Browse the repository at this point in the history
  2. remove noop permits

    ryanhall07 committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    5f8a678 View commit details
    Browse the repository at this point in the history
  3. change test defaults

    ryanhall07 committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    e018652 View commit details
    Browse the repository at this point in the history
  4. lint

    ryanhall07 committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    e7a8ad3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f2c4dff View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

  1. Configuration menu
    Copy the full SHA
    7ec4c51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8be36ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    faa1434 View commit details
    Browse the repository at this point in the history
  4. add copyright

    ryanhall07 committed Mar 8, 2021
    Configuration menu
    Copy the full SHA
    8a14e29 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. review comments

    ryanhall07 committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    4580c81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76ca76c View commit details
    Browse the repository at this point in the history