Exemplo n.º 1
0
def main():
    from handlers.records import queue_listener
    event_thread = threading.Thread(target=queue_listener)
    event_thread.daemon = True
    event_thread.start()

    make_trace_folder(settings)

    app = DataRecorder()
    http_server = tornado.httpserver.HTTPServer(app)
    http_server.listen(options.port)
    tornado.ioloop.IOLoop.instance().start()
Exemplo n.º 2
0
def main():
    from handlers.records import queue_listener
    event_thread = threading.Thread(target=queue_listener)
    event_thread.daemon = True
    event_thread.start()

    make_trace_folder(settings)

    app = DataRecorder()
    http_server = tornado.httpserver.HTTPServer(app)
    http_server.listen(options.port)
    tornado.ioloop.IOLoop.instance().start()
Exemplo n.º 3
0
 def setUp(self):
     super(BaseRecorderTestCase, self).setUp()
     make_trace_folder(settings)
Exemplo n.º 4
0
 def setUp(self):
     super(BaseRecorderTestCase, self).setUp()
     make_trace_folder(settings)