chore: replace todos with issues (#1066)

This commit is contained in:
G r e y
2022-04-19 12:16:57 -04:00
committed by GitHub
parent 04985a1754
commit 5ce06769cd
10 changed files with 15 additions and 26 deletions
+3 -3
View File
@@ -245,9 +245,9 @@ func (c *Channel) Write(bytes []byte) (n int, err error) {
if c.dc.BufferedAmount()+uint64(len(bytes)) >= maxBufferedAmount {
<-c.sendMore
}
// TODO (@kyle): There's an obvious race-condition here.
// This is an edge-case, as most-frequently data won't
// be pooled so synchronously, but is definitely possible.
// REMARK: There's an obvious race-condition here. This is an edge-case, as
// most-frequently data won't be pooled so synchronously, but is
// definitely possible.
//
// See: https://github.com/pion/sctp/issues/181
time.Sleep(time.Microsecond)