Exemplo n.º 1
0
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()
Exemplo n.º 2
0
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()
Exemplo n.º 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()