(self, start=None, average=0)
| 35 | self.lock = RLock() |
| 36 | |
| 37 | def poissonTimeout(self, start=None, average=0): |
| 38 | if start is None: |
| 39 | start = time() |
| 40 | if average == 0: |
| 41 | average = FLUFF_TRIGGER_MEAN_DELAY |
| 42 | return start + expovariate(1.0/average) + FLUFF_TRIGGER_FIXED_DELAY |
| 43 | |
| 44 | def addHash(self, hashId, source=None, stream=1): |
| 45 | if not state.dandelion: |
no outgoing calls
no test coverage detected