技能 编程开发 Lokalise 速率限制处理

Lokalise 速率限制处理

v20260311
lokalise-rate-limits
通过请求排队、指数退避和限流监控,稳妥应对 Lokalise API 的速率限制,实现自动重试、批量处理和配额感知,提升调用稳定性。
获取技能
354 次下载
概览

Lokalise Rate Limits

Overview

Handle Lokalise rate limits gracefully with request queuing, exponential backoff, and monitoring.

Prerequisites

  • Lokalise SDK installed
  • Understanding of async/await patterns
  • Access to rate limit headers

Instructions

  1. Rate Limit Specifications
  2. Instructions

For full implementation details, load: Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)

Output

  • Request queue respecting 6 req/sec limit
  • Automatic retry with exponential backoff
  • Proactive throttling when quota low
  • Batch processing for large operations

Error Handling

Header Description Action
X-RateLimit-Limit Max requests per window Monitor usage
X-RateLimit-Remaining Remaining requests Throttle if low
X-RateLimit-Reset Unix timestamp of reset Wait until reset
Retry-After Seconds to wait (on 429) Honor this value

Examples

See references/implementation-guide.md for detailed examples.

Resources

Next Steps

For security configuration, see lokalise-security-basics.

信息
Category 编程开发
Name lokalise-rate-limits
版本 v20260311
大小 3.72KB
更新时间 2026-03-12
语言