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")
public abstract int getZkSessionTimeoutMs();
@Config("druid.curator.compression.enable")
@Config("druid.curator.compress")
@Default("false")
public abstract boolean enableCompression();
}

View File

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