Skip to content

improvement(event-streaming): move UnknownClient error to trace level#2401

Merged
shamardy merged 5 commits intodevfrom
mov-unknown-client-to-trace-level
Mar 28, 2025
Merged

improvement(event-streaming): move UnknownClient error to trace level#2401
shamardy merged 5 commits intodevfrom
mov-unknown-client-to-trace-level

Conversation

@borngraced
Copy link
Copy Markdown

@borngraced borngraced commented Mar 20, 2025

I don't want to chunk block cache event streaming report for z_coin since the progress might be very useful to the gui(without UnknowClient error).

#2363

mariocynicys
mariocynicys previously approved these changes Mar 21, 2025
Copy link
Copy Markdown
Collaborator

@mariocynicys mariocynicys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't want to chunk block cache event streaming report for z_coin

oh, i thought that was related to the sync and not block streaming. my bad.

Thanks, LGTM!

Comment on lines +200 to +203
StreamingManagerError::UnknownClient => {
// UnknownClient log seems pretty much useless so moving to trace
// level
trace!("Failed to send task status update to the client (ID={client_id}): {e:?}")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we currently are applying default client id = 0 for every task managed request. and if the GUI never hooks to SSE, this error shows up (task asking to send updates to client 0 but client 0 isn't even connected/known).

such a log is generally useful, but it's due to the defaults we set right now, it will show up in unwanted times.

nit: we can put a todo asking to revert this back to warn level once we ditch using a default client (when migrating to WS).

Co-authored-by: Omer Yacine <mariocynicys@gmail.com>
@mariocynicys mariocynicys changed the title enhancement(event-streaming): move UnknownClient error to trace level improvment(event-streaming): move UnknownClient error to trace level Mar 21, 2025
@borngraced borngraced changed the title improvment(event-streaming): move UnknownClient error to trace level improvement(event-streaming): move UnknownClient error to trace level Mar 22, 2025
@shamardy shamardy merged commit 7dba330 into dev Mar 28, 2025
24 checks passed
@shamardy shamardy deleted the mov-unknown-client-to-trace-level branch March 28, 2025 22:48
dimxy pushed a commit that referenced this pull request Apr 7, 2025
* dev:
  improvement(best-orders): return an rpc error when we can't find best orders (#2318)
  feat(utxo): support FIRO Spark verbose tx
  feat(ARRR): dockerize zombie/pirate tests  (#2374)
  improvement(event-streaming): move UnknownClient error to trace level (#2401)
  feat(tpu): implement 0 dexfee for kmd trading pairs (#2323)
  feat(db-arch): ctx functions and use of global db (#2378)
  feat(swap): add utxo/cosmos/ARRR pre-burn address output (#2112)
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request May 27, 2025
* lr-swap-wip: (45 commits)
  review (mariocynicys): fix iterators zipping, refactor 1inch url builder, add docs to cross prices data, remove extra coin decimals check
  added doc comments for LrData struct
  error msg improved
  fix tx value eth conversion
  eliminate from_api_error fn
  fix src_decimals var name
  improve bad api TokenInfo error messages
  improvement(best-orders): return an rpc error when we can't find best orders (GLEECBTC#2318)
  feat(utxo): support FIRO Spark verbose tx
  feat(ARRR): dockerize zombie/pirate tests  (GLEECBTC#2374)
  improvement(event-streaming): move UnknownClient error to trace level (GLEECBTC#2401)
  feat(tpu): implement 0 dexfee for kmd trading pairs (GLEECBTC#2323)
  feat(db-arch): ctx functions and use of global db (GLEECBTC#2378)
  feat(swap): add utxo/cosmos/ARRR pre-burn address output (GLEECBTC#2112)
  review (laruh): rename fn
  review (laruh): add fn to get contracts from LrData
  add TODO
  fix find best lr swap behaviour: skip lr provider error results (to use successful ones)
  refactor 1inch url builder
  fix 1inch result conversion test
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants