knex-pg-rr

1.1.2 • Public • Published

Knex PG Read-replica

With Read-replica support for PG only.

{
  connection: {
    idleTimeoutMillis: 1000 // timeout millis
  },
  readReplica: {
    connection: {
      idleTimeoutMillis: 1000 // timeout millis
    },
    pool: {
      min: 1,
      max: 5
    }
  },
  pool: {
    min: 1,
    max: 5
  }
}

FIXME

  • Remove non-PG

Package Sidebar

Install

npm i knex-pg-rr

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • diorahman