Add config for extended results for task graph generator
This commit is contained in:
parent
8a9d2ee0be
commit
31268c0b47
@ -203,6 +203,9 @@ def main():
|
||||
argv.append(config.get('CELERY_QUEUE'))
|
||||
argv.append('-n')
|
||||
argv.append(config.get('CELERY_QUEUE'))
|
||||
argv.append('--config')
|
||||
argv.append('celeryconfig')
|
||||
|
||||
|
||||
BaseTask.default_token_symbol = config.get('CIC_DEFAULT_TOKEN_SYMBOL')
|
||||
BaseTask.default_token_address = registry.by_name(BaseTask.default_token_symbol)
|
||||
|
@ -1,4 +0,0 @@
|
||||
[signer]
|
||||
secret = deadbeef
|
||||
#database = crypto-dev-signer
|
||||
socket_path = ipc:///run/crypto-dev-signer/jsonrpc.ipc
|
@ -1,8 +0,0 @@
|
||||
[database]
|
||||
NAME=cic-signer
|
||||
USER=
|
||||
PASSWORD=
|
||||
HOST=
|
||||
PORT=
|
||||
ENGINE=
|
||||
DRIVER=
|
@ -7,6 +7,7 @@ import json
|
||||
# external imports
|
||||
import celery
|
||||
import confini
|
||||
import celery.utils.graph
|
||||
|
||||
# local imports
|
||||
from cic_eth.api import Api
|
||||
@ -35,7 +36,7 @@ class Fmtr(celery.utils.graph.GraphFormatter):
|
||||
|
||||
def main():
|
||||
api = Api(
|
||||
config.get('CIC_CHAIN_SPEC'),
|
||||
config.get('CHAIN_SPEC'),
|
||||
queue='cic-eth',
|
||||
#callback_param='{}:{}:{}:{}'.format(args.redis_host_callback, args.redis_port_callback, redis_db, redis_channel),
|
||||
#callback_task='cic_eth.callbacks.redis.redis',
|
||||
|
Loading…
Reference in New Issue
Block a user