shangeyao opened a new pull request, #4403:
URL: https://github.com/apache/streampark/pull/4403

   ## Summary
   - Add 6-hour `expireAfterWrite` TTL to `MetricCache`
   - Cap cache at 10,000 entries via `maximumSize`
   
   Fixes #4402
   
   ## Test plan
   - [ ] K8s Flink job metrics still update while running
   - [ ] Stale metrics are eventually evicted after TTL
   
   ---
   **AI Disclosure**
   - Model: Claude Opus 4.6
   - Platform/Tool: Cursor
   - Human Oversight: partially reviewed
   - Prompt Summary: Add MetricCache TTL from dev branch scan
   
   
   Made with [Cursor](https://cursor.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to