---
schema_version: "1"
id: 03c6108649fc9c5817bb02f3d78602db2901b488268d0eae943a0b1c632d48b9
title: 步驟 5：伺服器組態（選用）
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server/prep_conductor_config_server_optional.md
canonical_url: https://help.tableau.com/v0.0/server/zh-tw/prep_conductor_config_server_optional.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 6499f9b3c892b7858468717daef1cd9b7e44d007348868caecab98b1af90d7b0
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 組態設定命令：

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

這設定在暫停工作之前必要的連續失敗流程工作數量的臨界值。這是全伺服器設定。

### 誰可以執行此動作

Tableau Server 管理員可以變更伺服器設定。