# 爬虫限流的处理

**URL:** <https://meta.discourse.org/t/handling-of-crawler-throttling/278769>\
**Category:** Product Support\
**Tags:** seo\
**Created:** [2023 年9 月 12 日 18:12 UTC](https://meta.discourse.org/t/handling-of-crawler-throttling/278769 "2023-09-12T18:12:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2023 年9 月 12 日 18:15 UTC](https://meta.discourse.org/t/handling-of-crawler-throttling/278769/2 "2023-09-12T18:15:54Z")

</div>

> [@vchuravy](#):
>
> 我的 Ruby on Rails 时代早已过去，但我假设这会引发一个通用的 505 错误？

我认为您要找的是

> <https://github.com/discourse/discourse/blob/85fddf58bc1e751d0ac5b8192a630c59a34aed7d/app/controllers/application_controller.rb#L181-L200>

这是用于该错误的“全局”控制器救援，它设置了状态码。

---

_[View the full topic](https://meta.discourse.org/t/handling-of-crawler-throttling/278769)._
