Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rethinkdbdash

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rethinkdbdash - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

9

lib/pool_master.js

@@ -422,5 +422,2 @@ var util = require('util');

pool.on('empty', function() {
if ((self._draining === false) && (self._discovery === true)) {
//self.fetchServers();
}
// A pool that become empty is considered unhealthy

@@ -511,5 +508,5 @@ for(var i=0; i<self._healthyPools.length; i++) {

if (self._options.silent !== true) {
console.error('Failed to drain all the pools:');
console.error(error.message);
console.error(error.stack);
self._log('Failed to drain all the pools:');
self._log(error.message);
self._log(error.stack);
}

@@ -516,0 +513,0 @@ });

{
"name": "rethinkdbdash",
"version": "2.1.6",
"version": "2.1.7",
"description": "A Node.js driver for RethinkDB with promises and a connection pool",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -191,5 +191,5 @@ rethinkdbdash

- `max`: `<number>` - Maximum number of connections available in the pool, default `1000`
- `timeout`: `<number> - The number of seconds for a connection to be opened, default `20`
- `timeout`: `<number>` - The number of seconds for a connection to be opened, default `20`
- `timeoutError`: `<number>` - Wait time before reconnecting in case of an error (in ms), default 1000
- `timeoutGb`: `<number>` - How long the pool keep a connection that hasn't been used (in ms), default 60*60*1000
- `timeoutGb`: `<number>` - How long the pool keep a connection that hasn't been used (in ms), default 60\*60\*1000
- `maxExponent`: `<number>` - The maximum timeout before trying to reconnect is 2^maxExponent x timeoutError, default 6 (~60 seconds for the longest wait)

@@ -196,0 +196,0 @@ - `silent`: <boolean> - console.error errors, default `false`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc