vanvalenlab / kiosk-frontend

DeepCell web application built using NodeJS, Express, React, and Webpack.
Other
1 stars 0 forks source link

Disconnect the redis connection after each request. #136

Closed willgraf closed 3 years ago

willgraf commented 3 years ago

There are too many open Redis connections because the Redis client is created in each request - and they are never closed! This PR disconnects the redis connection after each call, regardless of success or failure. This should limit the number of open connections.