openapi-php-sdk
openapi-php-sdk copied to clipboard
Laravel Octane: Token cache not shared across workers
Labels: bug, laravel, octane, concurrency
Context: Laravel Octane with Swoole workers
Description: The SDK stores the API token in-memory, which is not shared between workers. Each worker requests a new token, triggering 429 rate-limit errors.
Expected: Allow external cache adapter (e.g. Redis, Memcached) for token persistence across processes.
Impact: Significant performance drop and increased API costs.