()
| 10 | var sharedGzipWriterPool *WriterPool |
| 11 | |
| 12 | func init() { |
| 13 | if !teaconst.IsMain { |
| 14 | return |
| 15 | } |
| 16 | |
| 17 | sharedGzipWriterPool = NewWriterPool(CalculatePoolSize(), func(writer io.Writer, level int) (Writer, error) { |
| 18 | return newGzipWriter(writer) |
| 19 | }) |
| 20 | } |
nothing calls this directly
no test coverage detected