Skip to content

Commit

Permalink
[hotfix] Set RescalingHandlers timeout to RpcUtils.INF_TIMEOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Mar 27, 2018
1 parent a0ba69e commit c28096a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.apache.flink.runtime.rest.messages.RescalingParallelismQueryParameter;
import org.apache.flink.runtime.rest.messages.TriggerId;
import org.apache.flink.runtime.rest.messages.TriggerIdPathParameter;
import org.apache.flink.runtime.rpc.RpcUtils;
import org.apache.flink.runtime.webmonitor.RestfulGateway;
import org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever;
import org.apache.flink.util.SerializedThrowable;
Expand Down Expand Up @@ -80,7 +81,7 @@ protected CompletableFuture<Acknowledge> triggerOperation(HandlerRequest<EmptyRe
jobId,
newParallelism,
RescalingBehaviour.STRICT,
timeout);
RpcUtils.INF_TIMEOUT);

return rescalingFuture;
}
Expand Down

0 comments on commit c28096a

Please sign in to comment.