| commit | 65853b0996372c37ed75b7bf530fa10e7926bc04 | [log] [tgz] |
|---|---|---|
| author | Rishabh Jain <jainrish@google.com> | Wed Dec 10 14:29:24 2025 -0800 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 10 14:29:51 2025 -0800 |
| tree | 31283f92d0a3527b47ccb171faad88ed5a29d394 | |
| parent | 75fd18b47025b0ca16e6eda45b4a92e21a1019e3 [diff] |
Add thread start retry logic and improve logging in Timer. This change introduces a retry mechanism when starting the internal thread in the Timer class to handle potential resource exhaustion. It also enhances logging by including the current timer state in error and informational messages, and adds a helper function to convert TimerState enums to strings. PiperOrigin-RevId: 842881893 Change-Id: I36bbda5b063548a75ffb06c8bd902b5981562711