sqlalchemy-imageattach icon indicating copy to clipboard operation
sqlalchemy-imageattach copied to clipboard

thread-localized BaseImageQuery._stored_images/_deleted_images

Open ygzgxyz opened this issue 9 years ago • 0 comments

Faced an issue that session state be corrupted due to BaseImageQuery._stored_images and ._deleted_images are accessed via class level when we use gevent-based WSGI container and it gets high workload. To resolve converted that containers to thread(gevent)-local storage.

ygzgxyz avatar Jul 21 '16 06:07 ygzgxyz