renamed db.connect to db.create

This commit is contained in:
Ritchie Martori
2012-09-17 12:01:07 -07:00
parent 4c6a5e5b57
commit 102d8bfa99
9 changed files with 27 additions and 74 deletions

View File

@@ -64,7 +64,7 @@ function Server(options) {
this.stores = {};
// back all memory stores with a db
this.db = db.connect(options.db);
this.db = db.create(options.db);
// use socket io for a session based realtime channel
this.sockets = io.listen(this, {