17.5.1
Description
Abstract
This PR fixes the TaskQueue and service readiness check issue by fixing field initialization order bugs and adding service timeout handling.
Background/Details
TaskQueue Initialization Bug
- Problem:
finalizedflag was set up after the background thread started - What happened: The thread used a
finalizedvariable that wasn't initialized, causing no job to be done as it occasionally readfinalizedas true (uninitialized memory). - Fix: Changed the order so variables are set up before starting the thread
Service Timeout Fix
- Problem: Services could wait forever without giving up
- Fix: Added 180-second timeout with better error messages
References
Destructive Changes
None
Known Limitations
None