mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
log(1) cursor kill instead of log(2)
This commit is contained in:
parent
41d2f24171
commit
e7b6dab203
@ -92,7 +92,7 @@ namespace mongo {
|
|||||||
ByLoc::iterator j = i;
|
ByLoc::iterator j = i;
|
||||||
i++;
|
i++;
|
||||||
if( j->second->shouldTimeout( millis ) ){
|
if( j->second->shouldTimeout( millis ) ){
|
||||||
log(2) << "killing old cursor " << j->second->cursorid << ' ' << j->second->ns
|
log(1) << "killing old cursor " << j->second->cursorid << ' ' << j->second->ns
|
||||||
<< " idle:" << j->second->idleTime() << "ms\n";
|
<< " idle:" << j->second->idleTime() << "ms\n";
|
||||||
delete j->second;
|
delete j->second;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user