Commit 4462e6a
Alex
fix(multi_agent): wire flush_usage into pool shutdown
Validation gap: flush_usage() was never called from any code path,
meaning usage records accumulated in memory but were never persisted.
Now pool.shutdown() flushes all agents before clearing.
Defect V001 from validation. Refs #10751 parent b4564c3 commit 4462e6a
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
456 | 455 | | |
457 | 456 | | |
458 | | - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
459 | 460 | | |
460 | 461 | | |
461 | 462 | | |
462 | 463 | | |
463 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
464 | 467 | | |
465 | 468 | | |
466 | | - | |
467 | 469 | | |
468 | 470 | | |
469 | 471 | | |
| |||
0 commit comments