Closed jdunck closed 12 years ago
It seems that mutating a global (setting) is asking for trouble. Perhaps BasePoolRouter should copy the thing that it assigns to self.pool.
https://github.com/bkonkle/django-balancer/blob/develop/balancer/routers.py#L81
Very good point! I'll fix it this week.
Thanks!
About 6 months later than expected, but corrected. Thanks!
It seems that mutating a global (setting) is asking for trouble. Perhaps BasePoolRouter should copy the thing that it assigns to self.pool.
https://github.com/bkonkle/django-balancer/blob/develop/balancer/routers.py#L81