예제 #1
0
파일: launch.py 프로젝트: magicbill/Hiss
def main():
    """
    In seperate method so it can be called from other modules.
    """
    args = parse_args()
    applyArgs(args)

    connections.init()
    aggregation.stats_init()
    reactor.run()
예제 #2
0
파일: launch.py 프로젝트: chetmancini/Hiss
def main():
    """
    In seperate method so it can be called from other modules.
    """
    args = parse_args()
    applyArgs(args)

    connections.init()
    aggregation.stats_init()
    reactor.run()
예제 #3
0
def main():
    """
    In seperate method so it can be called from other modules.
    """
    args = parse_args()
    applyArgs(args)

    connections.init()
    aggregation.stats_init()

    if not args.timberoff:
        timber.timberRun()
        logger.loggerInit()

    if not args.hissoff:
        gossip.gossipRun()

    if args.timberoff and args.hissoff:
        debug("Nothing to run")
    else:
        reactor.run()