Example #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()
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()
Example #3
0
 def setUp(self):
     super(BaseRecorderTestCase, self).setUp()
     make_trace_folder(settings)
Example #4
0
 def setUp(self):
     super(BaseRecorderTestCase, self).setUp()
     make_trace_folder(settings)