Ghraven opened a new pull request, #801:
URL: https://github.com/apache/burr/pull/801

   ## Problem
   
   `open_when_ready()` polls the local server readiness URL before opening the 
browser, but the `requests.get()` call has no timeout. If the readiness 
endpoint accepts a connection and then stalls, the polling thread can block 
indefinitely instead of retrying.
   
   ## Before / After
   
   Before, a stalled readiness request could hang inside `requests.get()`.
   
   After, the readiness poll uses a small named timeout and keeps the existing 
retry behavior for request exceptions.
   
   ## Verification
   
   - `python -m pytest tests/cli/test_main.py`


-- 
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