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

Commit

Permalink
perf(rome_service): increase the throughput of the daemon server tran…
Browse files Browse the repository at this point in the history
…sport
  • Loading branch information
leops committed Sep 5, 2022
1 parent a25e726 commit 471c0ae
Show file tree
Hide file tree
Showing 17 changed files with 495 additions and 219 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 471c0ae

Please sign in to comment.