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

ee-db-cluster

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-db-cluster - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

3

lib/Cluster.js

@@ -140,4 +140,5 @@ !function(){

if (index >= 0) this.connections[mode].splice(index, 1);
else log.error('failed to remove connection from pool!');
if(dev) log('«'+mode+'» connection has ended...');
if(dev) log('«'+mode+'» connection has ended, removed connection at index «'+index+'»...');
}.bind(this));

@@ -144,0 +145,0 @@

@@ -105,3 +105,3 @@ !function(){

if(dev) log('creating conncetion ...');
if(dev) log('creating connection ...');

@@ -148,2 +148,5 @@ // no throtling (1000 msec)?

if (index >= 0) this._connections.splice(index, 1);
// decrdease idle count
this._idle--

@@ -150,0 +153,0 @@ // is there need to create new conenctions?

{
"name" : "ee-db-cluster"
, "description" : "db cluster implementation for ee-orm"
, "version" : "0.1.3"
, "version" : "0.1.4"
, "homepage" : "https://github.com/eventEmitter/ee-db-cluster"

@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

@@ -15,2 +15,7 @@ # ee-db-cluster

[![Build Status](https://travis-ci.org/eventEmitter/ee-db-cluster.png?branch=master)](https://travis-ci.org/eventEmitter/ee-db-cluster)
[![Build Status](https://travis-ci.org/eventEmitter/ee-db-cluster.png?branch=master)](https://travis-ci.org/eventEmitter/ee-db-cluster)
## Version History
- 0.1.4: fixed bug in the cluster node implementation which didnt remove conenctions from the idle counter when a connection gets closed. Added version history to the docs

@@ -31,3 +31,3 @@

username: 'eb-client'
, password: ''
, password: 'wiegehtesdir55'
, host: '10.0.100.1'

@@ -74,2 +74,3 @@ });

, from: 'vandi'
, database: 'eventbox'
, select: [

@@ -85,2 +86,3 @@ 'id'

, from: 'event'
, database: 'eventbox'
, select: ['id', {

@@ -96,2 +98,3 @@ alias: 'bestORMEver'

, from: 'vandi'
, database: 'eventbox'
, select: [

@@ -105,4 +108,6 @@ 'id'

}
]);
], function(err, result){
log(err, result);
});
});
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