Kaynağa Gözat

disable channel overflow early return for now

backfeed-full-error
Fusl 1 yıl önce
ebeveyn
işleme
6f89d42312
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      main.go

+ 2
- 2
main.go Dosyayı Görüntüle

@@ -77,8 +77,8 @@ func (that *ProjectBackfeedManager) PushItem(ctx context.Context, item *Backfeed
return fmt.Errorf("backfeed channel closed") return fmt.Errorf("backfeed channel closed")
case that.C <- item: case that.C <- item:
return nil return nil
default:
return fmt.Errorf("backfeed channel full")
//default:
// return fmt.Errorf("backfeed channel full")
} }
} }




Yükleniyor…
İptal
Kaydet