Skip to content

Commit

Permalink
zstd_decompress_by_file should default to true
Browse files Browse the repository at this point in the history
Summary: Changing the default for saved state loading.

Reviewed By: ljw1004

Differential Revision: D51213201

fbshipit-source-id: c6fee12d5a4cb78b3b384a2491574a3fe5216820
  • Loading branch information
nt591 authored and facebook-github-bot committed Nov 11, 2023
1 parent 782e646 commit a282e9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hphp/hack/src/options/globalOptions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let default_saved_state_loading =
saved_state_manifold_api_key = None;
log_saved_state_age_and_distance = false;
use_manifold_cython_client = false;
zstd_decompress_by_file = false;
zstd_decompress_by_file = true;
}

type saved_state = {
Expand Down
2 changes: 1 addition & 1 deletion hphp/hack/src/oxidized/manual/global_options_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl Default for SavedStateLoading {
saved_state_manifold_api_key: None,
log_saved_state_age_and_distance: false,
use_manifold_cython_client: false,
zstd_decompress_by_file: false,
zstd_decompress_by_file: true,
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DEFAULT_SAVED_STATE_LOADING: SavedStateLoading<'_> = SavedStateLoading {
saved_state_manifold_api_key: None,
log_saved_state_age_and_distance: false,
use_manifold_cython_client: false,
zstd_decompress_by_file: false,
zstd_decompress_by_file: true,
};

const DEFAULT_SAVED_STATE: SavedState<'_> = SavedState {
Expand Down

0 comments on commit a282e9c

Please sign in to comment.