Permalink
Browse files

raise system.profile default size to 1MB SERVER-3618

  • Loading branch information...
1 parent 912924d commit 6ebfbc789e051993918d4322abf8c30566218934 @RedBeard0531 RedBeard0531 committed Aug 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/database.cpp
View
@@ -270,7 +270,7 @@ namespace mongo {
log() << "creating profile collection: " << profileName << endl;
BSONObjBuilder spec;
spec.appendBool( "capped", true );
- spec.append( "size", 131072.0 );
+ spec.append( "size", 1024*1024 );
if ( ! userCreateNS( profileName.c_str(), spec.done(), errmsg , false /* we don't replica profile messages */ ) ) {
return false;
}

0 comments on commit 6ebfbc7

Please sign in to comment.