gitlab.com/SkynetLabs/skyd@v1.6.9/cmd/skyc/consts.go (about)

     1  package main
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  const (
     8  	// OutputRefreshRate is the rate at which siac will update something like a
     9  	// progress meter when displaying a continuous action like a download.
    10  	OutputRefreshRate = 250 * time.Millisecond
    11  
    12  	// RenterDownloadTimeout is the amount of time that needs to elapse before
    13  	// the download command gives up on finding a download in the download list.
    14  	RenterDownloadTimeout = time.Minute
    15  
    16  	// SimultaneousSkynetUploads limits the number of files being concurrently
    17  	// uploaded to Skynet.
    18  	SimultaneousSkynetUploads = 8
    19  
    20  	// SpeedEstimationWindow is the size of the window which we use to
    21  	// determine download speeds.
    22  	SpeedEstimationWindow = 60 * time.Second
    23  
    24  	// moduleNotReadyStatus is the error message displayed when an API call error
    25  	// suggests that a modules is not yet ready for usage.
    26  	moduleNotReadyStatus = "Module not loaded or still starting up"
    27  )