storj/internal/groupcancel/doc.go
Jeff Wendling 59f81a4a0d groupcancel/ec delete: add a timeout based on completion times
we used to do something similar for puts, but that ended up hurting
more than it helped. since deletes are best effort, we can do it
here to kill long tails or unresponsive nodes.

Change-Id: I89fd2d9dcf519d76c78ddad70bc419d1868d2df1
2019-10-30 16:18:39 -06:00

11 lines
486 B
Go

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
// Package groupcancel contains helpers to cancel groups of requests when enough finish.
//
// The main type is the Context type which takes a total number of requests, the fraction
// of the non-failed requests that must succeed before the rest are canceled, and an
// extra wait fraction to multiply by the time it took to succeed that will be waited
// before the rest are canceled.
package groupcancel