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 the comment to describe refresh_interval #1365

Open
krkzts opened this issue Oct 15, 2023 · 0 comments
Open

Fix the comment to describe refresh_interval #1365

krkzts opened this issue Oct 15, 2023 · 0 comments

Comments

@krkzts
Copy link

krkzts commented Oct 15, 2023

Currently there is a comment to describe refresh_interval

:param refresh_interval: Optional number of seconds between cache refresh, use 0 or None to disable

But actually if the arg of the param is 0 or None, it is set to self.DEFAULT_REFRESH
ref:

self._refresh_interval = refresh_interval or self.DEFAULT_REFRESH

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