python - Share a global variable in flask among multiple gevent workers -
in flask application keep global variable store current states of running tasks, cannot shared different gevent workers.
g
used store global data in flask application, g
reset after each request.
how can achieve without use of redis or other storage between processes?
Comments
Post a Comment