Skip to content

Commit

Permalink
remove unused compression algorithm key value
Browse files Browse the repository at this point in the history
  • Loading branch information
b0b3rt committed Oct 26, 2021
1 parent b2ebbee commit 16f1356
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/grpc-js/src/compression-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ import { ChannelOptions } from './channel-options';
const CompressionAlgorithms = {
'0': 'identity',
'1': 'deflate',
'2': 'gzip',
// Streaming compression is unimplemented
'3': 'stream-gzip'
'2': 'gzip'
} as const;

const CompressionAlgorithKeys = new Set(Object.keys(CompressionAlgorithms));
Expand Down

0 comments on commit 16f1356

Please sign in to comment.