Swiftpack.co - Package - vapor/database-kit

Github

link
Stars: 18
Help us keep the lights on

Dependencies

Releases

1.3.1 - Aug 27, 2018

Fixed:

  • DatabaseConnectionPoolConfig now defaults to a max of 10 connections per pool. (#47, #45, #48)

Previously, the max connections per pool would default to System.coreCount. This could create hanging request issues on some Linux deploys where the core count was 1.

If a max of 10 is too high, you can still of course configure this to any value you want using the following snippet during service configuration.

services.register { container in
    return DatabaseConnectionPoolConfig(maxConnections: 5)
}

1.3.0 - Jul 25, 2018

New:

  • Adds a new connectionPool parameter when requesting a cached connection from a container. (#43, #44).

1.2.0 - Jun 19, 2018

New:

1.1.0 - Jun 15, 2018

New:

  • DatabaseConnection now has an associated database type (#38).

1.0.1 - Apr 30, 2018

Fixed:

  • Added deprecations for requestConnection(...) and releaseConnection(...) extensions on Container.

Milestone: 1.0.1