Пример #1
0
 def __init__(self, name_cache_size=512):
     ServiceBase.__init__(self)
     self._sublist_lock = Lock()
     self._twitch = TwitchEngine()
     self._channel_name_cache = LRUCache(name_cache_size)
Пример #2
0
 def __init__(self):
     ServiceBase.__init__(self)
     self.cmd = 'twitch'
     self._sublist_lock = Lock()
     self._twitch = TwitchEngine()
Пример #3
0
 def __init__(self):
     ServiceBase.__init__(self)
     self.cmd = 'twitch'
     self._sublist_lock = Lock()
     self._twitch = TwitchEngine()
Пример #4
0
 def __init__(self, name_cache_size=512):
     ServiceBase.__init__(self)
     self._sublist_lock = Lock()
     self._twitch = TwitchEngine()
     self._channel_name_cache = LRUCache(name_cache_size)