yao/agent/robot/pool
Max bcbb6b8024 Refactor Robot Execution and Pool Management
- Updated the Executor to implement atomic slot acquisition for robot executions, preventing race conditions and ensuring proper quota management.
- Introduced the TryAcquireSlot method in the Robot struct for atomic checks and reservations of execution slots, enhancing concurrency handling.
- Adjusted the Worker to requeue tasks when quota is exceeded, improving error handling and system stability.
- Enhanced tests for concurrent access and quota management, ensuring robust functionality under load conditions.
- Updated comments and documentation for clarity on new methods and their intended use.
2026-01-14 20:41:02 +08:00
..
goroutine_test.go Enhance Robot Pool and Executor Implementations 2026-01-14 20:30:27 +08:00
pool.go Enhance Robot Pool and Executor Implementations 2026-01-14 20:30:27 +08:00
pool_test.go Refactor Robot Execution and Pool Management 2026-01-14 20:41:02 +08:00
queue.go Enhance Robot Pool and Executor Implementations 2026-01-14 20:30:27 +08:00
queue_test.go Enhance Robot Pool and Executor Implementations 2026-01-14 20:30:27 +08:00
worker.go Refactor Robot Execution and Pool Management 2026-01-14 20:41:02 +08:00
worker_test.go Refactor Robot Execution and Pool Management 2026-01-14 20:41:02 +08:00