dengliming opened a new pull request, #7257:
URL: https://github.com/apache/shenyu/pull/7257

   ## Summary
   - Bound URI port readiness waiting instead of retrying forever on the 
registration consumer thread.
   - Use explicit TCP connect timeouts and cap retry sleeps by the remaining 
readiness budget.
   - Log and skip timed-out URIs so later entries can still register; stop 
promptly on interruption and restore the interrupt flag.
   - Expose the readiness budget through 
`-Dshenyu.client.uri.readyTimeoutMillis` (default 180000 ms).
   - Add local-socket tests for an unreachable URI followed by a ready URI and 
interrupted waiting.
   
   Fixes #6554
   
   ## Validation
   - `./mvnw -pl shenyu-client/shenyu-client-core -am -DskipTests=false 
-Dcheckstyle.skip=false -Dtest=UriReadinessTimeoutTest -DfailIfNoTests=false 
test` (Java 17): passed, including Checkstyle.
   
   An endpoint that starts after the configured deadline needs registration to 
be retriggered; timed-out endpoints are deliberately not announced as ready.
   


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