mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
increase cursor timeout to 10 minutes
This commit is contained in:
parent
f5efaa92ea
commit
6918975022
@ -91,7 +91,7 @@ namespace mongo {
|
||||
for ( ByLoc::iterator i = byLoc.begin(); i != byLoc.end(); ) {
|
||||
ByLoc::iterator j = i;
|
||||
i++;
|
||||
if( (j->second->idleAgeMillis += millis) > 60000 ) {
|
||||
if( (j->second->idleAgeMillis += millis) > 600000 ) {
|
||||
log(2) << "killing old cursor " << j->second->cursorid << ' ' << j->second->ns << " idle:" << j->second->idleAgeMillis << "ms\n";
|
||||
delete j->second;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user