This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.5
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.5 by this push:
new fdc42d0 [hotfix][rest] Simplify thread-priority description
fdc42d0 is described below
commit fdc42d07fb2326fe9e38430da98984fd44d28840
Author: Chesnay Schepler <[email protected]>
AuthorDate: Wed Oct 17 17:23:42 2018 +0200
[hotfix][rest] Simplify thread-priority description
---
.../src/main/java/org/apache/flink/configuration/RestOptions.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
b/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
index 11c38de..5c1b6d6 100644
--- a/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
+++ b/flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java
@@ -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;
@@ -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.");
}