Explorar o código

Merge pull request #259 from bobheadxi/master

Expose plumbing.ConfigTicksSinceStartTickSize
Vadim Markovtsev %!s(int64=6) %!d(string=hai) anos
pai
achega
4295b794a4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.