TehGimp/KerbalMultiPlayer — pull request #722 by godarklight (2014-03-15 02:06:23+00:00)
Title: Turn on connection pooling for SQLite.

Because the new database system opens a new connection for each query, things start to get real slow.

The way around this is to enable connection pooling for sqlite, which is enabled on mysql by default, but not for sqlite. We should also remove that pooled connection thingy in the helper as pooling is defined in the connection string.

We should explicitly close the connections, but I haven't the foggiest about how to do that in an object orientated helper.

I assume they go out of scope and the garbage collector gets them, which leaves the connections open for much longer than they have to be.