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

Method __init__

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

Source from the content-addressed store, hash-verified

73@Singleton
74class ReceiveThrottle(Throttle):
75 def __init__(self):
76 Throttle.__init__(self, BMConfigParser().safeGetInt('bitmessagesettings', 'maxdownloadrate')*1024)
77
78 def resetLimit(self):
79 with self.lock:

Callers

nothing calls this directly

Calls 3

BMConfigParserClass · 0.90
safeGetIntMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected