curTimeMillis() was dubious as it rolls over frequently -- so eliminate it.

This commit is contained in:
dwight
2011-06-02 23:49:49 -04:00
parent f528a0e49d
commit 6510475ff1
8 changed files with 40 additions and 34 deletions

View File

@@ -297,7 +297,7 @@ namespace mongo {
char *p = m.singleData()->_data;
int len = strlen(p);
if ( len > 400 )
out() << curTimeMillis() % 10000 <<
out() << curTimeMillis64() % 10000 <<
" long msg received, len:" << len << endl;
Message *resp = new Message();