(self)
| 46 | error_rate=ObjectTracker.invErrorRate) |
| 47 | |
| 48 | def initAddrBloom(self): |
| 49 | if haveBloom: |
| 50 | # lock? |
| 51 | self.addrBloom = BloomFilter(capacity=ObjectTracker.invInitialCapacity, |
| 52 | error_rate=ObjectTracker.invErrorRate) |
| 53 | |
| 54 | def clean(self): |
| 55 | if self.lastCleaned < time.time() - ObjectTracker.invCleanPeriod: |