use a constant value for default master node timeout
This commit is contained in:
parent
2b125bd6b4
commit
d3b2a2cf66
|
@ -28,12 +28,12 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* A based request for master based operation.
|
||||
*
|
||||
*
|
||||
*/
|
||||
public abstract class MasterNodeOperationRequest implements ActionRequest {
|
||||
|
||||
private TimeValue masterNodeTimeout = TimeValue.timeValueSeconds(30);
|
||||
public static TimeValue DEFAULT_MASTER_NODE_TIMEOUT = TimeValue.timeValueSeconds(30);
|
||||
|
||||
private TimeValue masterNodeTimeout = DEFAULT_MASTER_NODE_TIMEOUT;
|
||||
|
||||
@Override
|
||||
public boolean listenerThreaded() {
|
||||
|
|
Loading…
Reference in New Issue