0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

dur typo in constant 180

This commit is contained in:
Dwight 2011-03-07 12:19:01 -05:00
parent 507a393453
commit fd3f3569c0

View File

@ -389,7 +389,7 @@ namespace mongo {
// faults after remapping, so doing a little bit at a time will avoid big load spikes on
// remapping.
unsigned long long now = curTimeMicros64();
double fraction = (now-lastRemap)/20000000.0;
double fraction = (now-lastRemap)/2000000.0;
lastRemap = now;
rwlock lk(MongoFile::mmmutex, false);