예제 #1
0
파일: api.py 프로젝트: kostyll/stock2
 def __init__(self, *args):
     self.port = args[0]
     self.application = tornado.web.Application(args[1])
     # self.core_event_loop = pyuv.Loop.default_loop()
     self.memstore = MemStore.create_instance()
예제 #2
0
def caching():
      return MemStore.get_instance()