Merge pull request #469 from pikers/emsd_loglevel_fix

Fix `loglevel` not getting propagated to `emsd`
explicit_write_pps_on_exit
Guillermo Rodriguez 2023-02-26 00:49:43 -03:00 committed by GitHub
commit 26146097eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1437,7 +1437,8 @@ async def display_symbol_data(
feed, feed,
godwidget, godwidget,
fqsns[0], fqsns[0],
order_mode_started order_mode_started,
loglevel=loglevel
) as mode ) as mode
): ):

View File

@ -658,6 +658,7 @@ async def open_order_mode(
godw: GodWidget, godw: GodWidget,
fqsn: str, fqsn: str,
started: trio.Event, started: trio.Event,
loglevel: str = 'info'
) -> None: ) -> None:
'''Activate chart-trader order mode loop: '''Activate chart-trader order mode loop:
@ -685,7 +686,7 @@ async def open_order_mode(
# spawn EMS actor-service # spawn EMS actor-service
async with ( async with (
open_ems(fqsn) as ( open_ems(fqsn, loglevel=loglevel) as (
book, book,
trades_stream, trades_stream,
position_msgs, position_msgs,