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

List pagination: implement token expiration #325

Open
glimchb opened this issue Apr 12, 2023 · 0 comments
Open

List pagination: implement token expiration #325

glimchb opened this issue Apr 12, 2023 · 0 comments

Comments

@glimchb
Copy link
Member

glimchb commented Apr 12, 2023

from https://google.aip.dev/158

Many APIs store page tokens in a database internally.
In this situation, APIs may expire page tokens a reasonable time
after they have been sent, in order not to needlessly store large
amounts of data that is unlikely to be used.
It is not necessary to document this behavior.

Note: While a reasonable time may vary between APIs, a good rule of thumb is three days.

please implement token expiration after reasonable time to avoid internal database explosion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant