mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-08 01:51:14 +00:00
Extract hardcoded sleep values in wait loops to environment-configurable constants at the top of provider lib/common.sh files: - INSTANCE_STATUS_POLL_DELAY (default: 5s, Lambda: 10s) - for instance status checks - SSH_RETRY_DELAY (default: 5s) - for SSH connection retries - SPRITE_CONNECTIVITY_POLL_DELAY (default: 5s) - for sprite connectivity checks This allows users to tune timeout behavior globally via environment variables without modifying code. Files modified: - linode/lib/common.sh - vultr/lib/common.sh - aws-lightsail/lib/common.sh - sprite/lib/common.sh - digitalocean/lib/common.sh - lambda/lib/common.sh Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||