Skip to content

Commit

Permalink
fixed issue #440, enableTsdb
Browse files Browse the repository at this point in the history
  • Loading branch information
agapple committed Dec 8, 2017
1 parent 912f5db commit 5aed505
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ public void setEnableTsdb(boolean enableTsdb) {

public void setTsdbSpringXml(String tsdbSpringXml) {
this.tsdbSpringXml = tsdbSpringXml;

if (tableMetaTSDB == null) {
// 初始化
tableMetaTSDB = TableMetaTSDBBuilder.build(destination, tsdbSpringXml);
if (this.enableTsdb) {
if (tableMetaTSDB == null) {
// 初始化
tableMetaTSDB = TableMetaTSDBBuilder.build(destination, tsdbSpringXml);
}
}
}

Expand Down

0 comments on commit 5aed505

Please sign in to comment.