# 企业版 - 快速失败

## 什么是快速失败策略？

在大规模数据采集中，采集任务可能会因网络延迟、阻止、异常响应等原因而长时间停滞或低效等待。

Listly Enterprise 将\*\*"快速失败策略"\*\*应用于数据采集功能，以最大程度减少这些问题。

"快速失败"功能让您可以配置系统，在批量提取期间检测到一定百分比或数量的失败时，停止批量中所有剩余任务并移至下一个任务。

{% hint style="info" %}
快速失败功能可在创建[批量提取](https://help.listly.io/docs/zh-hans/~/revisions/ss7aWyhMlNgVJU7b4kz5/getting-started/result-page-features/group-extraction)任务时配置。
{% endhint %}

{% stepper %}
{% step %}
**提取源页面后，点击 \[+Group] 按钮**

<figure><img src="/files/23cdbcce367a750f7efaa8f674b6b457b3a1d36a" alt=""><figcaption></figcaption></figure>

**此功能可以在创建**[**批量提取**](https://help.listly.io/docs/zh-hans/~/revisions/ss7aWyhMlNgVJU7b4kz5/getting-started/result-page-features/group-extraction)**任务的过程中配置。** 提取源页面后，点击结果页面顶部的 **\[+Group]** 按钮。
{% endstep %}

{% step %}
**在新批量中输入 URL 后，配置快速失败选项**

<figure><img src="/files/77649f4484230cf4a5e40ca1b6371c555e7a0d5a" alt=""><figcaption></figcaption></figure>

**在新批量中输入 URL 后，配置快速失败选项**。

<mark style="color:red;">➊</mark> 百分比设置：当任务在所选百分比时失败，剩余任务将被标记为失败。

<mark style="color:yellow;">➋</mark> 数量设置：当任务在输入的数量时失败，剩余任务将被标记为失败。<br>

为了测试，我们将百分比设置为 30% 并输入 10 个 URL 来创建批量。为了模拟失败场景，我们故意输入了错误的 URL。

<figure><img src="/files/77895fde43f519da6b6c87b6aa3f944c7f85d4dd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**检查任务进度**

以下是示例结果界面。当 30%（10 个 URL 中的 3 个）提取失败时，您可以看到剩余的 7 个任务被自动快速失败处理。

<figure><img src="/files/792e80be654b81b38c209b2a2bc12a59b33f38cf" alt=""><figcaption></figcaption></figure>

通过这样利用快速失败功能，您可以在某些情况下减少不必要的等待时间，并**显著缩短整体处理时间**。
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.listly.io/docs/zh-hans/getting-started/enterprise-solutions/qi-ye-ban-kuai-su-shi-bai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
