mirror of
https://github.com/apache/druid.git
synced 2025-02-25 20:48:05 +00:00
Remove unnecessary casts (#9208)
This commit is contained in:
parent
3ef5c2f2e8
commit
48b95f02f2
@ -56,10 +56,10 @@ public class WorkerConfig
|
|||||||
private Period intermediaryPartitionTimeout = new Period("P1D");
|
private Period intermediaryPartitionTimeout = new Period("P1D");
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private final long globalIngestionHeapLimitBytes = (long) (Runtime.getRuntime().maxMemory() / 6);
|
private final long globalIngestionHeapLimitBytes = Runtime.getRuntime().maxMemory() / 6;
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private final int numConcurrentMerges = (int) Math.max(1, capacity / 2);
|
private final int numConcurrentMerges = Math.max(1, capacity / 2);
|
||||||
|
|
||||||
public String getIp()
|
public String getIp()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user