<< Home | Tech
Reduced quota usage by stopping 30-second polling loops
| Area | Tech |
| AI used | GPT-6 Astra |
| Source | r/codex |
| Posted | 2026-09-08 |
The move
Modify your configuration file to increase the agent wait timeout to prevent excessive polling.Steps
- Locate your configuration file at ~/.codex/config.toml
- Open the file in a text editor
- Add the [features.multi_agent_v2] section if it does not exist
- Set min_wait_timeout_ms, default_wait_timeout_ms, and max_wait_timeout_ms to 1500000
- Save the file and restart your agent session
Prompt for your AI
[features.multi_agent_v2]
enabled = true
min_wait_timeout_ms = 1500000
default_wait_timeout_ms = 1500000
max_wait_timeout_ms = 1500000
What happened
The user discovered that GPT-6 Astra was burning through usage quotas by polling worker status every 30 seconds. This unnecessary activity consumed 7.13M input tokens in just 33 minutes. By updating the configuration to increase the wait timeout, the user stopped the polling loop and significantly reduced quota consumption.Watch out
Increasing the timeout may delay the parent agent's response to worker errors or completion. Ensure your specific workflow does not require sub-second monitoring.Give it to your agent
Read https://howtheyuse.ai/p/reduced-quota-usage-by-stopping-30-second-polling-loops.md and help me do this.