liukun4515 commented on a change in pull request #1783:
URL: https://github.com/apache/arrow-datafusion/pull/1783#discussion_r819570891
##########
File path: ballista/rust/executor/executor_config_spec.toml
##########
@@ -78,3 +78,21 @@ name = "task_scheduling_policy"
type = "ballista_core::config::TaskSchedulingPolicy"
doc = "The task scheduing policy for the scheduler, see
TaskSchedulingPolicy::variants() for options. Default: PullStaged"
default = "ballista_core::config::TaskSchedulingPolicy::PullStaged"
+
+[[param]]
+name = "executor_cleanup_enable"
+type = "bool"
+doc = "Enable periodic cleanup of work_dir directories."
+default = "true"
+
+[[param]]
+name = "executor_cleanup_interval"
+type = "u64"
+doc = "Controls the interval in seconds , which the worker cleans up old job
dirs on the local machine."
+default = "1800"
+
+[[param]]
+name = "executor_cleanup_ttl"
+type = "i64"
Review comment:
it's better to use u64
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]