"setting time.zone during a request: thread safe?" Code Answer

5

if you look at the code where this is implemented you can see that the current zone is stored in a thread local variable, so each thread can set time.zone without interfering with other threads.

By yob on May 9 2022

Answers related to “setting time.zone during a request: thread safe?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.