nullscript opened a new pull request, #18449:
URL: https://github.com/apache/pulsar/pull/18449

   ### Motivation
   When I tried to build docker image by running 
   `mvn package -Pdocker,-main -am -pl docker/pulsar-all -DskipTests`
   and it show error "503  Service Unavailable"
   
![apt-timeout](https://user-images.githubusercontent.com/84658856/201523265-e3c28233-dd40-45d9-94b7-0abe3f3c2251.png)
   and get response time by ping the mirror url, it's much longer than default 
value 30.
   
![image](https://user-images.githubusercontent.com/84658856/201523396-7d932d3a-dfe6-4565-99b4-4a0bbc80cc9e.png)
   I fixed this problem by modifying the timeout and retry threshold.
   I think it's better to use variant representing timeout and retries 
threshold, and add some annotation to help the beginners to quickly solving 
environment problems.
   
   ### Modifications
   make variants to represent timeout and retries threshold.
   make minor annotations
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   ### Documentation
   - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local 
preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR 
description, or else your PR might not get merged. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   


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