kong: Too many requests.

kong Too many requests.

Currently the rate limiting config is like:

—data “value.limit=100” and —data “value.period=hour”

There are two ways I can think of supporting multiple configurations.

—data “value.limits=5,1000” and —data “value.periods=second,hour” (Having limit and periods as separate options and rely on the order supplied by the user to match them).
—data “value.limits=5:second, 1000:hour” (Much cleaner, but removing a existing option from API)

ph.w 6个月前

已被 0 人挖起

登录 后发表评论
  • 消灭零回应