Skip to content

Commit

Permalink
fix: disable auto maxprocs logging (#105)
Browse files Browse the repository at this point in the history
Signed-off-by: FogDong <[email protected]>
  • Loading branch information
FogDong authored Jun 5, 2024
1 parent e2fea2f commit 1f4677e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion util/compression/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package compression

import (
_ "go.uber.org/automaxprocs"
"go.uber.org/automaxprocs/maxprocs"
)

// Type the compression type
Expand Down Expand Up @@ -45,6 +45,8 @@ type compressor interface {
}

func init() {
maxprocs.Set()

// Add compressors
compressors[Gzip] = &gzipCompressor{}
compressors[Zstd] = &zstdCompressor{}
Expand Down

0 comments on commit 1f4677e

Please sign in to comment.