(bl *baseline.Baseline)
| 115 | } |
| 116 | |
| 117 | func (pool *BasePool) putToFuzzy(bl *baseline.Baseline) { |
| 118 | pool.Outwg.Add(1) |
| 119 | bl.IsFuzzy = true |
| 120 | out := bl.Snapshot() |
| 121 | out.IsValid = false |
| 122 | out.IsFuzzy = true |
| 123 | select { |
| 124 | case pool.FuzzyCh <- out: |
| 125 | case <-pool.ctx.Done(): |
| 126 | select { |
| 127 | case pool.FuzzyCh <- out: |
| 128 | default: |
| 129 | pool.Outwg.Done() |
| 130 | } |
| 131 | } |
| 132 | } |