Add config for extended results for task graph generator

This commit is contained in:
nolash 2021-09-30 08:50:01 +02:00
parent 8a9d2ee0be
commit 31268c0b47
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
4 changed files with 5 additions and 13 deletions

View File

@ -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)

View File

@ -1,4 +0,0 @@
[signer]
secret = deadbeef
#database = crypto-dev-signer
socket_path = ipc:///run/crypto-dev-signer/jsonrpc.ipc

View File

@ -1,8 +0,0 @@
[database]
NAME=cic-signer
USER=
PASSWORD=
HOST=
PORT=
ENGINE=
DRIVER=

View File

@ -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',