我想知道是哪个问题导致 production.log 中出现了 429 错误。
在 PostActionsController 上下文中,我收到了 99% 的此类错误。
Processing by PostActionsController#create as */*
Parameters: {"id"=>"706335", "post_action_type_id"=>"2", "flag_topic"=>"false"}
Completed 429 Too Many Requests in 16ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 5715)
我知道全局速率限制是由容器中的 nginx 在更上层执行的,这类错误会记录在 /shared/standalone/log/var-log/nginx/error.log 中。
那么问题来了:在什么情况下,这个错误会出现在 production.log 中?
如果可能的话,我想消除这些错误。
你们的配置中是否也遇到过非速率限制导致的 429 错误?