-
Notifications
You must be signed in to change notification settings - Fork 258
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
chore: removing Clone
derivation from Blueprint
#1871
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1871 +/- ##
==========================================
- Coverage 89.73% 89.71% -0.03%
==========================================
Files 154 155 +1
Lines 15817 15871 +54
==========================================
+ Hits 14193 14238 +45
- Misses 1624 1633 +9 ☔ View full report in Codecov by Sentry. |
src/blueprint/blueprint.rs
Outdated
pub schema: Arc<SchemaDefinition>, | ||
pub server: Arc<Server>, | ||
pub upstream: Arc<Upstream>, | ||
pub telemetry: Arc<Telemetry>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blueprint can't have internal mutable states. So no Arc.
Bencher
🚨 2 ALERTS: Threshold Boundary Limits exceeded!
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
@tusharmath |
Arc
to optimize cloning of Blueprint
Clone
derivation from Blueprint
Clone
derivation from Blueprint
Clone
derivation from Blueprint
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
PR closed after 5 days of inactivity. |
Summary:
Using
Arc
to optimize cloning ofBlueprint
Issue Reference(s):
Fixes #1858
Build & Testing:
cargo test
successfully../lint.sh --mode=fix
to fix all linting issues raised by./lint.sh --mode=check
.Checklist:
<type>(<optional scope>): <title>