mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-05 12:16:44 +02:00
add TODO
This commit is contained in:
parent
934709fd7a
commit
abafdc6292
@ -58,6 +58,8 @@ func (r *writeRing) getReq() (req *C.goreq, err error) {
|
||||
|
||||
// prefetch attempts to fetch a req for use by future writes.
|
||||
// It does not block.
|
||||
// TODO: does this actually buy us anything?
|
||||
// TODO: return errors encountered here, rather than delaying them until later?
|
||||
func (r *writeRing) prefetch() {
|
||||
idx, ok := peekCompletion(r.ring)
|
||||
if ok {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user