-
Notifications
You must be signed in to change notification settings - Fork 49
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
Multithreaded use of the library #5
Comments
Yes, this is a huge design mistake on my part. I will fix ASAP. |
Has there been an update on this issue? I have a method of getting around it via injection that works, but it just feels messy. Nonetheless the only gripe so far. |
Done. |
!m @mahmoudimus |
chadwhitacre
added a commit
to gratipay/gratipay.com
that referenced
this issue
Apr 2, 2014
With the upgrade to the balanced library in #2036 we no longer need this workaround for balanced/balanced-python#5. Removing at this point because I'm ripping out all of our direct os.environ usage and this applies.
chadwhitacre
added a commit
to gratipay/gratipay.com
that referenced
this issue
Apr 3, 2014
With the upgrade to the balanced library in #2036 we no longer need this workaround for balanced/balanced-python#5. Removing at this point because I'm ripping out all of our direct os.environ usage and this applies.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
balanced.configure() must be called for every thread since the configuration inherits from threading.Local. This is not mentioned anywhere in the documentation, and causes issues in development - when using the interpreter or test scripts everything will work, but on an actual multi-threaded web server, things will start breaking for what can seem to be no reason at all.
The text was updated successfully, but these errors were encountered: