fix configs based on code review

This commit is contained in:
fjy 2013-07-29 17:04:27 -07:00
parent 50836798fa
commit af6db21264
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public abstract class CuratorConfig
@Default("30000") @Default("30000")
public abstract int getZkSessionTimeoutMs(); public abstract int getZkSessionTimeoutMs();
@Config("druid.curator.compression.enable") @Config("druid.curator.compress")
@Default("false") @Default("false")
public abstract boolean enableCompression(); public abstract boolean enableCompression();
} }

View File

@ -38,7 +38,7 @@ public abstract class ServiceDiscoveryConfig extends CuratorConfig
public abstract String getDiscoveryPath(); public abstract String getDiscoveryPath();
@Override @Override
@Config("druid.service.discovery.curator.compression.enable") @Config("druid.curator.discovery.compress")
public boolean enableCompression() public boolean enableCompression()
{ {
return false; return false;