Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
perf(rome_service): increase the throughput of the remote daemon tran…
Browse files Browse the repository at this point in the history
…sport (#3151)

* perf(rome_service): increase the throughput of the daemon server transport

* address PR review

* remove unused import

* add additional documentation

* Update crates/rome_cli/src/service/mod.rs

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
  • Loading branch information
leops and ematipico authored Sep 8, 2022
1 parent 6bcf6e8 commit a9e7ebe
Show file tree
Hide file tree
Showing 17 changed files with 553 additions and 224 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/rome_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ serde = { version = "1.0.133", features = ["derive"] }
serde_json = { version = "1.0.74" }
tokio = { version = "1.15.0", features = ["io-std", "io-util", "net", "time", "rt", "rt-multi-thread", "macros"] }
anyhow = "1.0.52"
dashmap = "5.2.0"

[target.'cfg(unix)'.dependencies]
libc = "0.2.127"
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_cli/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub(crate) fn execute_mode(mode: Execution, mut session: CliSession) -> Result<(
let can_format = workspace.supports_feature(SupportsFeatureParams {
path: rome_path.clone(),
feature: FeatureName::Format,
});
})?;
if can_format {
workspace.open_file(OpenFileParams {
path: rome_path.clone(),
Expand Down
Loading

0 comments on commit a9e7ebe

Please sign in to comment.