Prechádzať zdrojové kódy

Expose plumbing.ConfigTicksSinceStartTickSize

Signed-off-by: Robert Lin <robertlin1@gmail.com>
Robert Lin 6 rokov pred
rodič
commit
db528ef9b8
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      core.go

+ 2 - 0
core.go

@@ -79,6 +79,8 @@ const (
 	// ConfigPipelineCommits is the name of the Pipeline configuration option (Pipeline.Initialize())
 	// which allows to specify the custom commit sequence. By default, Pipeline.Commits() is used.
 	ConfigPipelineCommits = core.ConfigPipelineCommits
+	// ConfigTickSize is the number of hours per 'tick'
+	ConfigTickSize = plumbing.ConfigTicksSinceStartTickSize
 )
 
 // NewPipeline initializes a new instance of Pipeline struct.