---
schema_version: "1"
id: 0a660e09321875a803dfc2a11416aff7b9e9ac627e1d0a6d3ecc190774806ca1
title: 步骤 5：可选服务器配置
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server/prep_conductor_config_server_optional.md
canonical_url: https://help.tableau.com/v0.0/server/zh-cn/prep_conductor_config_server_optional.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 60b5defee952d439a99a381a6f63561cba7fc2c3439984b488ad8e1bba0a96ec
description: Configure optional Tableau Server settings for flow timeouts and suspended tasks.
---
[跳转到主要内容](#main-content)

# 步骤 5：可选服务器配置

在 Tableau Server 上启用流程发布和计划流程不需要本主题中介绍的选项。这些选项可用于根据您的要求自定义环境。

## 设置流程的超时期间

您可以为流程可运行多长时间设置时间限制，确保后续任务不会因为任务停滞而挂起。以下两个 _tsm_ 命令选项确定在取消流程后台任务之前流程任务可运行多长时间。这两个命令共同确定流程任务的总超时值。

`backgrounder.default_timeout.run_flow` 设置取消流程运行任务之前的秒数。

例如：

`tsm configuration set -k backgrounder.default_timeout.run_flow -v <new value>`

`tsm pending-changes apply`

（默认值：14400 秒或 4 小时）

`backgrounder.extra_timeout_in_seconds` 命令设置取消后台作业之前超出 `backgrounder.querylimit` 中的设置的秒数。此设置可确保停止的作业不会阻止后续作业。此设置适用于 `backgrounder.timeout_tasks` 中列出的进程。

例如：

`tsm configuration set -k backgrounder.extra_timeout_in_seconds -v <value>`

（默认值：1800 秒或 30 分钟）

检查运行流程的服务器上的可用资源。建议您为 Tableau Prep Conductor 使用一个专用节点。

## 为挂起的流程任务设置阈值

默认情况下，流程任务会在连续失败 5 次后挂起。若要更改流程任务在挂起之前可失败的阈值次数，请使用以下 tsm configuration set 命令：

`tsm configuration set -k backgrounder.flow_failure_threshold_for_run_prevention -v <number>`

这会为挂起任务之前流程任务必须连续失败的次数设置阈值。这是一项服务器范围设置。

### 谁可以执行此操作

Tableau Server 管理员可对服务器配置进行更改。