File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -377,11 +377,10 @@ func (c *ClientOptions) SetAuth(auth Credential) *ClientOptions {
377
377
// 3. "zstd" - requires server version >= 4.2, and driver version >= 1.2.0 with cgo support enabled or driver version >= 1.3.0
378
378
// without cgo
379
379
//
380
- // To use compression, it must be enabled on the server as well. If this option is specified, the driver will perform a
381
- // negotiation with the server to determine a common list of of compressors and will use the first one in that list when
382
- // performing operations. See
380
+ // If this option is specified, the driver will perform a negotiation with the server to determine a common list of of
381
+ // compressors and will use the first one in that list when performing operations. See
383
382
// https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption-mongod-networkmessagecompressors for more
384
- // information about how to enable this feature on the server.
383
+ // information about configuring compression on the server and the server-side defaults .
385
384
//
386
385
// This can also be set through the "compressors" URI option (e.g. "compressors=zstd,zlib,snappy"). The default is
387
386
// an empty slice, meaning no compression will be enabled.
You can’t perform that action at this time.
0 commit comments