How They Use AI  |  Newest

<< Home  |  Tech

Reduced quota usage by stopping 30-second polling loops

AreaTech
AI usedGPT-6 Astra
Sourcer/codex
Posted2026-09-08

The move

Modify your configuration file to increase the agent wait timeout to prevent excessive polling.

Steps

  1. Locate your configuration file at ~/.codex/config.toml
  2. Open the file in a text editor
  3. Add the [features.multi_agent_v2] section if it does not exist
  4. Set min_wait_timeout_ms, default_wait_timeout_ms, and max_wait_timeout_ms to 1500000
  5. 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.

Sources



Last updated November 26, 2026.