Skip to content

Commit

Permalink
Change default log encoding suffixes
Browse files Browse the repository at this point in the history
Summary: Just following instructions in comments.

Differential Revision: D44778130

fbshipit-source-id: 54b45abf3d4811d83d1a9eb92195242793c31b48
  • Loading branch information
stepancheg authored and facebook-github-bot committed Apr 8, 2023
1 parent 6788247 commit 4ad5deb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/buck2_client_ctx/src/subscribers/event_log/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,13 @@ impl Encoding {
pub(crate) const PROTO: Encoding = Encoding {
mode: LogMode::Protobuf,
compression: Compression::None,
// TODO(nga): make `.pb` default in two weeks after D40616394 lands.
extensions: &[".proto", ".pb"],
extensions: &[".pb", ".proto"],
};

pub(crate) const PROTO_GZIP: Encoding = Encoding {
mode: LogMode::Protobuf,
compression: Compression::Gzip,
// TODO(nga): make `.pb.gz` default in two weeks after D40616394 lands.
extensions: &[".proto.gz", ".pb.gz"],
extensions: &[".pb.gz", ".proto.gz"],
};

pub(crate) const PROTO_ZSTD: Encoding = Encoding {
Expand Down

0 comments on commit 4ad5deb

Please sign in to comment.