-
Notifications
You must be signed in to change notification settings - Fork 689
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
Stop using lazy_static with near_metrics::Result<IntCounter>> #5317
Comments
This was referenced Nov 17, 2021
near-bulldozer bot
pushed a commit
that referenced
this issue
Nov 18, 2021
This is part of #5317 PR, extracted just for chain/json* files.
near-bulldozer bot
pushed a commit
that referenced
this issue
Nov 19, 2021
Full change for removing `Lazy` and usage of `metrics::Result`. See #5317 I'm splitting this PR into smaller ones. I'll do more split as more RPs get merged. - [x] 19 files chain/jsonrpc #5323 - [x] 11 files chain #5318 - [x] 10 files core only #5366 - [x] 3 files runtime #5367 - [x] 8 files other places #5321 - [x] Remove unused methods in metrics #5374
near-bulldozer bot
pushed a commit
that referenced
this issue
Nov 24, 2021
This is continuation of #5317 This time we will format metrics in `chain/chain/src/metrics.rs` file. Part of PR: https://github.com/near/nearcore/pull/5321/files
pmnoxx
added a commit
that referenced
this issue
Nov 25, 2021
This is continuation of #5317 This time we will format metrics in `chain/chain/src/metrics.rs` file. Part of PR: https://github.com/near/nearcore/pull/5321/files
pmnoxx
added a commit
that referenced
this issue
Nov 25, 2021
This is continuation of #5317 This time we will format metrics in `chain/chain/src/metrics.rs` file. Part of PR: https://github.com/near/nearcore/pull/5321/files
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should continue #5265
and stop using
Lazy<near_metrics::Result<IntCounter>>
and replace withLazy<IntCounter>
everywhere.@matklad
Progress
lazy_static!
from chain #5318The text was updated successfully, but these errors were encountered: