(reader Reader)
| 51 | } |
| 52 | |
| 53 | func (this *ReaderPool) Put(reader Reader) { |
| 54 | if reader.IncreaseHit() > maxReadHits { |
| 55 | // do nothing to discard it |
| 56 | return |
| 57 | } |
| 58 | |
| 59 | select { |
| 60 | case this.c <- reader: |
| 61 | default: |
| 62 | } |
| 63 | } |
nothing calls this directly
no test coverage detected