dongjoon-hyun opened a new pull request, #2552:
URL: https://github.com/apache/orc/pull/2552

   ### What changes were proposed in this pull request?
   
   This PR aims to add a generic connection and read timeout parameter 
timeout=(3.05, 30) to the `jira.client.JIRA()` initializations in the dev/ 
scripts:
   - `create_orc_jira.py`
   - `merge_orc_pr.py`
   
   ### Why are the changes needed?
   
   By default, the requests library (used by the jira python package) can hang 
indefinitely when attempting to establish a connection if the server is 
unresponsive. Setting a short connection timeout of 3.05 seconds (slightly 
larger than a standard 3-second TCP packet retransmission window) ensures that 
the client will quickly fail the connection attempt and properly trigger its 
internal retry logic, rather than stalling the entire script. The 30-second 
read timeout allows sufficient time for normal API responses once the 
connection is successfully established.
   
   ### How was this patch tested?
   
   Manual tests.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`


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