Cadasta / cadasta-qgis-plugin

[DEPRECATED] QGIS plugin to create, edit, upload and download Cadasta projects
GNU General Public License v3.0
4 stars 7 forks source link

Make sure API connections are being closed #179

Closed wonderchook closed 7 years ago

wonderchook commented 7 years ago

It appears that connections are not being closed cleanly and are just timing out.

Confirm that they connections are being closed.

dimasciput commented 7 years ago

I think the connection is automatically closed if the operation is finished. Could you elaborate more about connections are not being closed cleanly?

wonderchook commented 7 years ago

@amplifi @alukach could you help elaborate on this?

alukach commented 7 years ago

@wonderchook @dimasciput Speaking with @amplifi, it appears that I misunderstood the background of the issue. The issue was that we found a lot of lingering connections to our database (rather than our web server, which I had originally assumed). This would place the blame solely on our API/front-end, as it's the only codebase that has access to our web server (to my knowledge).

Going to go ahead and close this. Feel free to re-open if you think I'm mistaken about any aspect.