3 ms·
"accessing a global variable" Um. What? Why do you have global variables for your celery tasks? They should be idempotent and small. Also, even your http requ
by natmaster 11y ago
"accessing a global variable"
Um. What? Why do you have global variables for your celery tasks? They should be idempotent and small.
Also, even your http requests should be globally stateless as that is the nature of http.
- agopaul 11y agoI think he was referring to global variables inside the 3rd party libraries rather than their codebase. If a library is not thread-safe they cannot use it.