The connecting flag should be set to false initially

This commit is contained in:
Raymond Feng 2013-04-15 16:00:08 -07:00
parent 7538601b79
commit 589908a78f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function Schema(name, settings) {
// Disconnected by default
this.connected = false;
this.connecting = true;
this.connecting = false;
// create blank models pool
this.models = {};