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

MCS: Stop using storage for wiktionary definitions #1181

Merged
merged 1 commit into from
Sep 10, 2019

Conversation

d00rman
Copy link
Contributor

@d00rman d00rman commented Sep 3, 2019

Bug: T231361

@@ -150,35 +100,7 @@ paths:
content-type: '{{extract.headers.content-type}}'
vary: '{{extract.headers.vary}}'
body: '{{extract.body}}'
- emit_change_event:
Copy link
Contributor

Choose a reason for hiding this comment

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

The response_cache_control here will still be pretty long. We need to either return some kind of purging or make much smaller cache max-age

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the CP config patch we keep the purging side of things, so this will not be an issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

No. If you don't emit the resource-change for this route, no purge will be emitted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, I'll add a purge event to the CP config, that ought to fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Pchelolo updated the CP config patch to reflect what we discussed here

@Pchelolo
Copy link
Contributor

+1, waiting for travis

@Pchelolo Pchelolo merged commit 6549469 into wikimedia:master Sep 10, 2019
@d00rman d00rman deleted the mcs/no-definition-storage branch September 11, 2019 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants