The connecting flag should be set to false initially
This commit is contained in:
parent
7538601b79
commit
589908a78f
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in New Issue