Making LocaleBorg thread-safe. #2071
Conversation
…ince current_lang is now a property function.
The failed test is due to a gist not being loaded. I've seen this error several times appearing and disappearing over the last hours (for different branches), so I assume it's not my fault ;) |
I did some more testing, it seems to work fine. I also did some timing tests with one of my smaller blogs; the new code with a thread local variable and a lock didn't result in a noticeable performance drop (11.1 vs. 11.2 seconds for |
LGTM let's merge it and see. |
Making LocaleBorg thread-safe.
Thanks for merging! |
Fixes #2046 as discussed there.