Skip to content

Commit

Permalink
use higher level of gzip compression
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed Sep 20, 2023
1 parent 0d64923 commit b569f8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@


## How has this been tested? (if applicable)
<!-- Please describe the tests that you ran to verify your changes. -->
<!-- Please describe any tests that you ran to verify your changes. -->


1 change: 1 addition & 0 deletions cargo-shuttle/src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ This project name will already be in use, so the file is useless.
If we start putting more things in Shuttle.toml we may wish to re-evaluate.
*/
fn remove_shuttle_toml(path: &Path) {
// TODO: Just remove the name prop
let mut path = path.to_path_buf();
path.push("Shuttle.toml");

Expand Down
4 changes: 2 additions & 2 deletions cargo-shuttle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ impl Shuttle {
Environment::Local,
&format!("http://localhost:{provisioner_port}"),
None,
run_args.port - idx - 1,
run_args.port - idx - 1, // TODO: check ports and ask for other port
runtime_executable,
service.workspace_path.as_path(),
)
Expand Down Expand Up @@ -1512,7 +1512,7 @@ impl Shuttle {

fn make_archive(&self) -> Result<Vec<u8>> {
let include_patterns = self.ctx.assets();
let encoder = GzEncoder::new(Vec::new(), Compression::fast());
let encoder = GzEncoder::new(Vec::new(), Compression::best());
let mut tar = Builder::new(encoder);

let working_directory = self.ctx.working_directory();
Expand Down

0 comments on commit b569f8c

Please sign in to comment.