Skip to content

Update default token refresh rate #2617

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

Merged
merged 3 commits into from
Apr 23, 2021
Merged

Update default token refresh rate #2617

merged 3 commits into from
Apr 23, 2021

Conversation

rosalyntan
Copy link
Member

Update the default token refresh rate:

refresh time = IAT + (0.5*TTL) + 5 min

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 23, 2021

Coverage Report

Affected SDKs

No changes between base commit (c923ddf) and head commit (4a379e23).

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (4a379e23) is created by Prow via merging commits: c923ddf 4a40c10.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 23, 2021

Binary Size Report

Affected SDKs

  • firebase-appcheck

    Type Base (c923ddf) Head (4a379e23) Diff
    aar 32.2 kB 32.2 kB -9 B (-0.0%)
    apk (release) 935 kB 935 kB +24 B (+0.0%)

Test Logs

Notes

Head commit (4a379e23) is created by Prow via merging commits: c923ddf 4a40c10.

@rosalyntan rosalyntan marked this pull request as ready for review April 23, 2021 17:26
Copy link
Contributor

@malcolmdeck malcolmdeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking, this presumes a minimum TTL of >10 minutes, yeah?

@rosalyntan
Copy link
Member Author

Just checking, this presumes a minimum TTL of >10 minutes, yeah?

Yup, the min TTL should be at least 15 min, but I also have some handling for if we get a TTL that's unexpectedly small from the backend.

@rosalyntan rosalyntan merged commit aeab642 into master Apr 23, 2021
@rosalyntan rosalyntan deleted the rosalyntan.default branch April 23, 2021 18:30
@firebase firebase locked and limited conversation to collaborators May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants