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

Use NoThunks to verify no memory leaks in PeerMetrics #4633

Merged
merged 6 commits into from
Aug 4, 2023

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    ebbf737 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. peer-metrics: use NoThunks in PeerMetrics

    Use NoThunks library to verify that we don't have any unevaluated
    expressions in PeerMetric.
    
    This patch also makes PeerMetric more strict to satisfy the test.
    Apparently there was a small memory leak which goes away at every churn
    interval when we actually use peer metric in order to demote the 20% of
    worse performing peers.
    coot committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    d63ed0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee0cf65 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9042f5 View commit details
    Browse the repository at this point in the history
  4. Use GitHub actions on Linux & Windows

    Also removed `asserts` flag from `network-mux.cabal`; and updated
    `cabal.project.local` files used in GHA.
    coot committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    303668e View commit details
    Browse the repository at this point in the history
  5. tx-submission: added NOINLINE pragmas

    The `continueWithState` and `continuewWithStateM` functions need
    `NOINLINE` pragma to make sure the `st` argument is evaluated to WHNF.
    coot committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    f2061c9 View commit details
    Browse the repository at this point in the history