#684 TXN-01: Rate limit lease uses separate connection causing token exhaustion

closed critical Created 2025-12-25 02:55 · Updated 2025-12-25 03:11

Description

Edit
Location: orchestrator.py:446-459. Issue: Rate limiter consume_with_lease uses its own committed transaction separate from main task execution. If worker crashes after consuming token but before starting main transaction, token is consumed with no work done. Lease recovery is 1 hour delay. Fix: Move token consumption inside main atomic transaction block.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...