ACD: Shorten minimum and maximum sleep.

This commit is contained in:
Klaus Post 2015-09-13 20:07:32 +02:00 committed by Nick Craig-Wood
parent dd48e62b7e
commit 00afe6cc96

View File

@ -39,8 +39,8 @@ const (
assetKind = "ASSET" assetKind = "ASSET"
statusAvailable = "AVAILABLE" statusAvailable = "AVAILABLE"
timeFormat = time.RFC3339 // 2014-03-07T22:31:12.173Z timeFormat = time.RFC3339 // 2014-03-07T22:31:12.173Z
minSleep = 100 * time.Millisecond minSleep = 20 * time.Millisecond
maxSleep = 256 * time.Second maxSleep = 15 * time.Second
decayConstant = 2 // bigger for slower decay, exponential decayConstant = 2 // bigger for slower decay, exponential
) )