[JAVA-237] Should only have 1 DBCleanerThread per Mongo instance Created: 17/Dec/10  Updated: 17/Mar/11  Resolved: 25/Feb/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5

Type: Bug Priority: Minor - P4
Reporter: Eliot Horowitz (Inactive) Assignee: Antoine Girbal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Right now we have 1 per DB.
Could have many dbs, so only really need 1 per Mongo



 Comments   
Comment by Antoine Girbal [ 25/Feb/11 ]

moved it at mongo level.
interval can be controlled by com.mongodb.cleanerIntervalMS, default is 1s.
Tested that the thread does clean up left over cursors.

Comment by auto [ 25/Feb/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-237: Should only have 1 DBCleanerThread per Mongo instance
https://github.com/mongodb/mongo-java-driver/commit/742d9c812f2923380186a7e99bb9167af8c551c9

Generated at Thu Feb 08 08:51:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.