p2m2 / EP2M2

Metabolomics target analyzes manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connection to database don't close

Marcellino-Palerme opened this issue · comments

connection to database don't close

Error message in container ep2m2-web:

[nuxt] [request error] [unhandled] [500] sorry, too many clients already

Reproduction:

  1. Start web site
  2. Use it several time
    => impossible to open web site

It have to use promise for each connection to database with a catch and finally with client.close()