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

Fixes #1

Merged
merged 3 commits into from Aug 9, 2012
Merged

Fixes #1

merged 3 commits into from Aug 9, 2012

Conversation

bobtfish
Copy link
Contributor

@bobtfish bobtfish commented Apr 3, 2012

Hiya.

I've made some fixes to this module, I'd be most grateful if you could review them and give me some feedback (or release a new version if you're happy with them).

Stuffing mutable data into the controller instance is going to cause massive lossage,
as in a pre-fork environment (i.e. any non-test env) then you're likely to have different processes
get subsequent requests - meaning that requests will see each-other's tokens, and so break.

Instead, pass the ctx into the controller methods as a parameter, as this means we keep all the state
in the context where it should be, which makes this work correctly
hidek pushed a commit that referenced this pull request Aug 9, 2012
@hidek hidek merged commit 7d8eb29 into hidek:master Aug 9, 2012
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.

None yet

2 participants