Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Connection pool size parameters ignored? #1

Open
michaelhixson opened this issue Apr 22, 2015 · 1 comment
Open

Connection pool size parameters ignored? #1

michaelhixson opened this issue Apr 22, 2015 · 1 comment

Comments

@michaelhixson
Copy link

In this snippet of code, in lib/manager.dart, aren't the min and max constructor parameters for PostgreSqlManager being ignored?

_pool = new Pool(uri, min: 1, max: 3);

  PostgreSqlManager(String uri, {int min: 1, int max: 3}) {
    _pool = new Pool(uri, min: 1, max: 3); // <-- Should this be min:min, max:max?
    _init = _pool.start();
  }
@azenla
Copy link

azenla commented Apr 22, 2015

@michaelhixson Good Catch. In case you aren't aware, the ownership of redstone has changed, so the new team is in the learning phase of this code base. I'll push an update later today.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants