Skip to content

Commit

Permalink
[hotfix][rest] Simplify thread-priority description
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Oct 17, 2018
1 parent 3f231ac commit a9cdb96
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.apache.flink.configuration;

import org.apache.flink.annotation.Internal;
import org.apache.flink.configuration.description.Description;

import static org.apache.flink.configuration.ConfigOptions.key;

Expand Down Expand Up @@ -125,9 +124,7 @@ public class RestOptions {

public static final ConfigOption<Integer> SERVER_THREAD_PRIORITY = key("rest.server.thread-priority")
.defaultValue(Thread.NORM_PRIORITY)
.withDescription(Description.builder()
.text("Thread priority of the REST server's executor for processing asynchronous requests. " +
.withDescription("Thread priority of the REST server's executor for processing asynchronous requests. " +
"Lowering the thread priority will give Flink's main components more CPU time whereas " +
"increasing will allocate more time for the REST server's processing.")
.build());
"increasing will allocate more time for the REST server's processing.");
}

0 comments on commit a9cdb96

Please sign in to comment.