Advanced configuration snippet parameters for Hue task server in CDW
The Hue task server is enabled by default in CDW with preset cleanup job schedules. The preset values can work in most scenarios. If needed, you can override the values from the Hue Advanced Configuration Snippet.
Configuration parameter | Description | Default value |
---|---|---|
enabled |
A setting to enable or disable the Task Server in Hue. To turn off using the task, set the value of this property to
|
True |
check_disk_usage_and_clean_task_periodic_interval |
The time interval in seconds at which the cleanup job is run. | 1000 |
disk_usage_cleanup_threshold |
A setting to specify the threshold value of disk space in percentage. For example, the cleanup job is triggered when the disk is 90% full. | 90 |
disk_usage_and_clean_task_time_delta |
A setting to specify the time (in minutes) after which the files should be
cleaned up. For example, if this is set to 60, then only the files with a timestamp
older than 60 minutes will be cleaned up from the /tmp directory. This setting helps avoid race condition issues. |
60 |
cleanup_stale_uploads_task_time_delta |
The time interval in seconds to run the peroidic cleaner which cleans up failed upload tasks. Only successfully completed upload task keys get cleaned automatically. The failed upload task’s keys are retained. | 900 |
cleanup_stale_uploads_task_time_delta |
A setting to clean up keys of uploads tasks older than the time delta. The unit of time delta is minutes. | 60 |
How to override the default presets for the Hue task server
Go to hue-safety-valve from the
Configuration files drop-down menu, and add the following
lines:
, select [desktop]
[[task_server_v2]]