From 9a5ec4b892914a0384dc289bfbd95a10e2d12863 Mon Sep 17 00:00:00 2001 From: nolash Date: Mon, 8 Feb 2021 23:25:59 +0100 Subject: [PATCH] Remove defaults in args for redis --- apps/cic-eth/cic_eth/runnable/create.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/cic-eth/cic_eth/runnable/create.py b/apps/cic-eth/cic_eth/runnable/create.py index 6ceb811c..8802549f 100644 --- a/apps/cic-eth/cic_eth/runnable/create.py +++ b/apps/cic-eth/cic_eth/runnable/create.py @@ -23,9 +23,9 @@ argparser = argparse.ArgumentParser() argparser.add_argument('--no-register', dest='no_register', action='store_true', help='Do not register new account in on-chain accounts index') argparser.add_argument('-c', type=str, default=default_config_dir, help='config file') argparser.add_argument('-i', '--chain-spec', dest='i', type=str, help='chain spec') -argparser.add_argument('--redis-host', dest='redis_host', default='localhost', type=str, help='redis host to use for task submission') -argparser.add_argument('--redis-port', dest='redis_port', default=6379, type=int, help='redis host to use for task submission') -argparser.add_argument('--redis-db', dest='redis_db', default=0, type=int, help='redis db to use for task submission and callback') +argparser.add_argument('--redis-host', dest='redis_host', type=str, help='redis host to use for task submission') +argparser.add_argument('--redis-port', dest='redis_port', type=int, help='redis host to use for task submission') +argparser.add_argument('--redis-db', dest='redis_db', type=int, help='redis db to use for task submission and callback') argparser.add_argument('--redis-host-callback', dest='redis_host_callback', default='localhost', type=str, help='redis host to use for callback') argparser.add_argument('--redis-port-callback', dest='redis_port_callback', default=6379, type=int, help='redis port to use for callback') argparser.add_argument('--timeout', default=20.0, type=float, help='Callback timeout')