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

Redis pipe for request open and close #135

Open
jace opened this issue Feb 20, 2017 · 1 comment
Open

Redis pipe for request open and close #135

jace opened this issue Feb 20, 2017 · 1 comment

Comments

@jace
Copy link
Member

jace commented Feb 20, 2017

Baseframe should provide the app-level frame as described in hasgeek/coaster#101.

Flask provides just one before_request and after_teardown stack, so this this frame should occupy the first and last position in before_request to construct the stacks and execute them (although shouldn't this be in the view?), and again the last position in after_teardown to do a final execution and clean up.

@jace
Copy link
Member Author

jace commented Feb 20, 2017

Perhaps the very act of calling with should construct the stacks if they're not already present, so that resolves the problem of being in the first position in before_request.

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

No branches or pull requests

1 participant