Skip to content

Commit

Permalink
kill warning for when > 10 embedded docs exist
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Aug 30, 2011
1 parent 48ff3d7 commit 945e9fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/document.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function Document (obj) {
this.registerHooks(); this.registerHooks();
this.doQueue(); this.doQueue();
this.errors = undefined; this.errors = undefined;
this.setMaxListeners(0);
}; };


/** /**
Expand Down

0 comments on commit 945e9fd

Please sign in to comment.