ServerOption changes #91
-
gws works awesome and I really appreciate the performance digging you do, thanks! I'm upgrading to the latest gws version and noticed these ServerOption changes: // CompressEnabled: true, // Enable compression
// ReadAsyncEnabled: true, // Parallel message processing
PermessageDeflate: gws.PermessageDeflate{
Enabled: true,
},
ParallelEnabled: true, // Enable parallel processing Would these changes be pretty much the same? Or will the default values in PermessageDeflate cause something different? I can't find any docs or release notes on these changes |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
ReadAsyncEnabled renamed to ParallelEnabled; CompressEnabled replaced by PermessageDeflate.Enabled. gws v1.8 supports the full rfc 7692 feature, so the compression-related configurations have been put into permessage-deflate, the old version of gws only holds no_context_takeover mode. |
Beta Was this translation helpful? Give feedback.
-
default values have no change. |
Beta Was this translation helpful? Give feedback.
ReadAsyncEnabled renamed to ParallelEnabled; CompressEnabled replaced by PermessageDeflate.Enabled.
gws v1.8 supports the full rfc 7692 feature, so the compression-related configurations have been put into permessage-deflate, the old version of gws only holds no_context_takeover mode.