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