mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: replace todos with issues (#1066)
This commit is contained in:
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user