Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

move waffle to diff endpoint (bug 1079681) #704

Merged
merged 1 commit into from Oct 9, 2014

Conversation

ngokevin
Copy link
Contributor

@ngokevin ngokevin commented Oct 8, 2014

No description provided.

@ngokevin ngokevin force-pushed the waffle branch 3 times, most recently from 9940842 to ebe198f Compare October 8, 2014 09:50
@diox
Copy link
Member

diox commented Oct 8, 2014

I like the idea of moving waffles to its own endpoint, but aren't we re-inventing the offline cache mechanism here ?

@ngokevin
Copy link
Contributor Author

ngokevin commented Oct 8, 2014

I think the offline cache mechanism you're thinking of is the one implemented in builder's defer, which involves models. I directly use cache.persist here which only involves a few lines.

@ngokevin
Copy link
Contributor Author

ngokevin commented Oct 8, 2014

Nvm, I see the caching mechanism you're talking about. Yeah, you're right, requests.get + the cache whitelist should handle it. I thought it was blocking.

@diox
Copy link
Member

diox commented Oct 8, 2014

Yeah, we might want to double-check that it's working properly, but I think it does exactly the same thing you are doing here, transparently.

@ngokevin ngokevin force-pushed the waffle branch 2 times, most recently from dcbac8f to 8086963 Compare October 8, 2014 23:43
@ngokevin ngokevin changed the title [WIP] move waffle to diff endpoint, don't block on waffle/consumer-info after first run (bug 1079681) move waffle to diff endpoint (bug 1079681) Oct 9, 2014
@ngokevin
Copy link
Contributor Author

ngokevin commented Oct 9, 2014

re-r?

@ngokevin
Copy link
Contributor Author

ngokevin commented Oct 9, 2014

Going to merge so I can remove consumer_info from other projects and get them on the upgrade path for FxA.

ngokevin added a commit that referenced this pull request Oct 9, 2014
move waffle to diff endpoint (bug 1079681)
@ngokevin ngokevin merged commit bc556cd into mozilla:master Oct 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants