Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/5271#discussion_r161248438
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java
---
@@ -58,6 +58,27 @@
.defaultValue(600)
.withDeprecatedKeys("yarn.heap-cutoff-min");
+ /**
+ * The timeout for requesting slot to a task manager, in milliseconds.
+ */
+ public static final ConfigOption<Integer> TASK_MANAGER_REQUEST_TIMEOUT
= ConfigOptions
+ .key("slotmanager.taskmanager.request-timeout")
+ .defaultValue(30000);
+
+ /**
+ * The timeout for a slot request to be discarded, in milliseconds.
+ */
+ public static final ConfigOption<Integer> SLOT_REQUEST_TIMEOUT =
ConfigOptions
--- End diff --
`Long`
---