mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
e10420553b
On my machine this decreases the runtime for `./cmd/restic` from 9.5s to 6.5s.
8 lines
162 B
Go
8 lines
162 B
Go
package backend
|
|
|
|
import "testing"
|
|
|
|
// TestFastRetries reduces the initial retry delay to 1 millisecond
|
|
func TestFastRetries(t testing.TB) {
|
|
fastRetries = true
|
|
}
|