ソースを参照

Merge pull request #259 from bobheadxi/master

Expose plumbing.ConfigTicksSinceStartTickSize
Vadim Markovtsev 6 年 前
コミット
4295b794a4
1 ファイル変更2 行追加0 行削除
  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.