MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / resetLimit

Method resetLimit

src/throttle.py:78–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 Throttle.__init__(self, BMConfigParser().safeGetInt('bitmessagesettings', 'maxdownloadrate')*1024)
77
78 def resetLimit(self):
79 with self.lock:
80 self.limit = BMConfigParser().safeGetInt('bitmessagesettings', 'maxdownloadrate')*1024
81 Throttle.resetChunkSize(self)

Callers

nothing calls this directly

Calls 3

BMConfigParserClass · 0.90
safeGetIntMethod · 0.80
resetChunkSizeMethod · 0.80

Tested by

no test coverage detected