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

fix token cache TTL #1699

Merged
merged 1 commit into from
Feb 22, 2021
Merged

fix token cache TTL #1699

merged 1 commit into from
Feb 22, 2021

Commits on Feb 22, 2021

  1. fix token cache TTL

    The TTL was supplied to the middleware as a duration and then in that middleware multiplied by `time.Second` again. Durations should not be multiplied because they result in unintended values.
    ```go
    	time.Second * 1 = 1s
    	time.Second * time.Second = 277777h46m40s
    ```
    David Christofas committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    7ad38d7 View commit details
    Browse the repository at this point in the history