mirror of https://github.com/apache/druid.git
fix configs based on code review
This commit is contained in:
parent
50836798fa
commit
af6db21264
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue