Skip to content

Commit

Permalink
set perMessageDeflate (#7167)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepvairamani committed Aug 18, 2021
1 parent 99c4af4 commit 3a0aac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const DefaultServiceConfiguration: IServiceConfiguration = {
blockSize: 64436,
maxMessageSize: 16 * 1024,
enableTraces: true,
enableLambdaMetrics: true,
enableLambdaMetrics: false,
enableLumberMetrics: true,
summary: {
idleTime: 5000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export function create(
const io = new Server(server, {
// enable compatibility with socket.io v2 clients
allowEIO3: true,
perMessageDeflate: false,
// ensure long polling is never used
transports: [ "websocket" ],
cors: {
Expand Down

0 comments on commit 3a0aac2

Please sign in to comment.