block cache bugfixes
This commit is contained in:
12
conf/finaldata/dexorder-finaldata.toml
Normal file
12
conf/finaldata/dexorder-finaldata.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
metadata='metadata.json' # the Dockerfile will move metadata-finaldata.json into positon
|
||||
ohlc_dir='/ohlc'
|
||||
rpc_url='https://arb-mainnet.g.alchemy.com/v2/fneXR05VTXzNS6ApcPd-QuyX-gv7AWzL'
|
||||
account='test1' # Dev Account #1
|
||||
ws_url=''
|
||||
db_url='postgresql://dexorder:redroxed@postgres/dexorder' # it's ok to use the main db because finaldata.py only writes its own special key to the KV table
|
||||
redis_url=''
|
||||
|
||||
[deployments]
|
||||
1337='alpha'
|
||||
42161='alpha'
|
||||
31337='alpha'
|
||||
20
conf/finaldata/logging-finaldata.toml
Normal file
20
conf/finaldata/logging-finaldata.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
# https://docs.python.org/3/library/logging.config.html#logging-config-dictschema
|
||||
version=1
|
||||
|
||||
[loggers.'']
|
||||
level='INFO'
|
||||
handlers=['console',]
|
||||
|
||||
[loggers.dexorder]
|
||||
level='DEBUG'
|
||||
|
||||
[handlers.console]
|
||||
class='logging.StreamHandler'
|
||||
formatter='notime'
|
||||
stream='ext://sys.stdout'
|
||||
|
||||
[formatters.notime]
|
||||
# https://docs.python.org/3/library/logging.html#logrecord-attributes
|
||||
format='%(levelname)s %(name)s %(message)s'
|
||||
# https://docs.python.org/3/library/time.html#time.strftime
|
||||
datefmt='%Y-%m-%d %H:%M:%S'
|
||||
Reference in New Issue
Block a user