Skip to content

Commit

Permalink
log test command invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
dwight committed Oct 19, 2011
1 parent 7c4fd4b commit 397660d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/dbcommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1694,6 +1694,7 @@ namespace mongo {
}
CmdSleep() : Command("sleep") { }
bool run(const string& ns, BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
log() << "test only command sleep invoked" << endl;
int secs = 100;
if ( cmdObj["secs"].isNumber() )
secs = cmdObj["secs"].numberInt();
Expand Down

0 comments on commit 397660d

Please sign in to comment.