gpt4 book ai didi

java - 如何避免响应错误 : 429 Too Many Requests

转载 作者:行者123 更新时间:2023-11-29 08:27:31 38 4
gpt4 key购买 nike

一个 Spring Boot 应用程序向另一个应用程序并行发送许多调用,有一次我遇到了 29 太多请求如何避免?

最佳答案

您应该停止向您的服务器发送垃圾邮件并重新考虑您的架构。 429 状态不是错误。更多的是停止垃圾邮件的提示:

The 429 status code indicates that the user has sent too many
requests in a given amount of time ("rate limiting").

https://www.rfc-editor.org/rfc/rfc6585#page-3

关于java - 如何避免响应错误 : 429 Too Many Requests,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51423374/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com