hammerlab / cycledash

Variant Caller Analysis Dashboard and Data Management System
Other
35 stars 2 forks source link

Fix all Postgres connection leaks #537

Open ihodes opened 9 years ago

ihodes commented 9 years ago

Should probably be using tables or another context manager when using the database.

I'm guessing the leaks are in the workers?

ihodes commented 9 years ago

Difficult to tell, but some testing seems to indicate that there are 4 connections leaking every time gene_annotator.annotate is run. I'm not very confident in this finding, though.