Parcourir la source

disable channel overflow early return for now

backfeed-full-error
Fusl il y a 1 an
Parent
révision
6f89d42312
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      main.go

+ 2
- 2
main.go Voir le fichier

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



Chargement…
Annuler
Enregistrer