-
Notifications
You must be signed in to change notification settings - Fork 84
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
Control verbosity of reference cache refresh #243
Comments
The cache lifetime for RFC, BCP, STD references is currently set at 86400*7 seconds, i.e., one week. (Most other cache TTLs are KRAMDOWN_REFCACHETTL, which defaults to 3600 s, i.e., 1 h. |
It's not the speed, it's the 'nattering' messages. And then I always ask myself "RFCs are immutable, surely the cache could be months". But since there's a reason (bib.ietf.org repairs), I'm gonna close this. Thanks. |
You can get some verbosity by setting the KRAMDOWN_PERSISTENT environment variable to "v", i.e.
Martin's config.mk seems to set that to "true" by default„so you should be getting the faster persistent http library. |
... and maybe add a "quiet" setting as well. |
A way to dial the verbosity back would be appreciated. That would report when something fails, but otherwise keep its internals to itself. The verbosity is a nice way to get feedback on why the thing is slow, but I find that it usually isn't that big of a deal: fetching takes ages the first time each week, then you only take a hit when you add a new citation. |
Is there it possible to refresh the RFC cache less often, or not at all? Is there a flag that I could then pester @martinthomson to add to his tooling?
The text was updated successfully, but these errors were encountered: