Bright Hsu

Results 3 comments of Bright Hsu

The 'leak' is caused by the thread mechanism of the flask. When the flask runs with default ```threaded=True```, it creates a new thread when handling every incoming new request. ```...

I made some tests based on https://github.com/LivePreso/redis-leak with some modifications. Even gevent's _DummyThread has the same thread id ( by ```threading.get_ident()``` ), it is a different thread for _local and...

Hey guys, Some thoughts about how to deal with this problem. Some situations like [gevents](https://github.com/celery/celery/issues/6819#issuecomment-958681403), or [flask develop server](https://github.com/celery/celery/issues/6819#issuecomment-951320770) may lead to too many connections. The first idea that comes...