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

Change comment proxy cache TTL to 1 minute #1250

Merged
merged 1 commit into from
May 6, 2020
Merged

Conversation

rogermparent
Copy link
Contributor

@rogermparent rogermparent commented May 5, 2020

I'm not certain that we should do this, but this is the fix for #1232.
The cache could be at 15 minutes currently for a good reason (does @fabiosantoscode know?), but I'm not aware of any discourse cache limits, and we don't have an API key here so I can't see how it would track usage to do any throttling.

I personally think the comment count being delayed on the website isn't much of an issue that actually impacts users, but that's not for me to decide and this looks like a simple fix.

If somehow cache is living past the specified TTL, this deploy preview can still be useful considering its TTL is one minute as opposed to master's 15. I'm not familiar with Discourse and how to use it so I haven't run a test yet, but I can try it.

@shcheklein shcheklein temporarily deployed to dvc-landing-comments-ca-bpw4er May 5, 2020 23:27 Inactive
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

Successfully merging this pull request may close these issues.

2 participants