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

Allow using multiple views in StaticRenderer in parallel #7

Open
eckardt opened this issue Dec 13, 2013 · 0 comments
Open

Allow using multiple views in StaticRenderer in parallel #7

eckardt opened this issue Dec 13, 2013 · 0 comments

Comments

@eckardt
Copy link

eckardt commented Dec 13, 2013

I was playing around with webloop for a bit and found out that the StaticRenderer.ServeHTTP method doesn't allow to be run by more than one thread at the same time due to the locking that takes place on viewLock. Is there a reason for this or would it be possible to instantiate a new view every time ServeHTTP is executed so we can render multiple pages in parallel?

I'm relatively new to Go and would be glad if you can point me in the right direction.

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