Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mempool event tracing details at default log level #538

Merged
merged 2 commits into from
Feb 6, 2020
Merged

Conversation

intricate
Copy link
Contributor

@intricate intricate commented Feb 4, 2020

Related: #527

@intricate intricate self-assigned this Feb 4, 2020
Comment on lines 859 to 860
, "txsAdded" .= String (pack $ show $ txs)
, "mempoolSize" .= String (pack $ show $ mpSz)
Copy link
Contributor Author

@intricate intricate Feb 4, 2020

Choose a reason for hiding this comment

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

Using show here probably isn't so great.

@CodiePP: Should I introduce some additional ToObject instances for the required types or is this sufficient?

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 I think this is OK

Copy link
Contributor

@CodiePP CodiePP left a comment

Choose a reason for hiding this comment

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

lgtm
that could work. I have tested these changes (or a similar copy) in a short bm to extract mempool info.

@CodiePP CodiePP added this to the S6 2020-02-13 milestone Feb 5, 2020
@intricate intricate marked this pull request as ready for review February 6, 2020 14:39
@intricate intricate changed the title Tx submission tracing details at default log level Mempool event tracing details at default log level Feb 6, 2020
@intricate
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 6, 2020
538: Mempool event tracing details at default log level r=intricate a=intricate

Related: #527 

Co-authored-by: Luke Nadur <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 6, 2020

@iohk-bors iohk-bors bot merged commit 2f2df7c into master Feb 6, 2020
@iohk-bors iohk-bors bot deleted the intricate/527 branch February 6, 2020 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants