# كيف أتجنب rate limiting عند استيراد كمية كبيرة من البيانات؟

**URL:** <https://meta.discourse.org/t/how-do-i-avoid-rate-limiting-when-importing-a-bunch-of-data/270449>\
**Category:** Development\
**Tags:** rest-api, rails-console\
**Created:** [3 يوليو 2023، 11:17م UTC](https://meta.discourse.org/t/how-do-i-avoid-rate-limiting-when-importing-a-bunch-of-data/270449 "2023-07-03T23:17:09Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Chris\_Dawson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris_dawson/32/184486_2.png) [@Chris\_Dawson](https://meta.discourse.org/u/Chris_Dawson)\
**Post date:** [5 يوليو 2023، 1:29م UTC](https://meta.discourse.org/t/how-do-i-avoid-rate-limiting-when-importing-a-bunch-of-data/270449/13 "2023-07-05T13:29:14Z")

</div>

لقد أصلحتها!

قوة الاختبارات أثبتت صحتها هنا. ذهبت إلى هذا الملف:

> <https://github.com/discourse/discourse/blob/main/spec/integration/rate_limiting_spec.rb>

الذي أظهر هذه الطريقة `RateLimiter.enable`. فكرت، لماذا لا أجرب `RateLimiter.disable`.

لا مزيد من أخطاء تحديد المعدل!

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-avoid-rate-limiting-when-importing-a-bunch-of-data/270449)._
