FS#71352 - Make server_error_limit configurable
Attached to Project:
Pacman
Opened by Peter (paulypeter) - Thursday, 24 June 2021, 12:30 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 24 June 2021, 17:32 GMT
Opened by Peter (paulypeter) - Thursday, 24 June 2021, 12:30 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 24 June 2021, 17:32 GMT
|
Details
As of pacman 6.0.0, a mirror server is skipped after 3
failed download attempts. I would like to change this
setting.
I think this would have to be changed in lib/libalpm/dload.c, l. 63. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 24 June 2021, 17:32 GMT
Reason for closing: Won't implement
Additional comments about closing: FS#23407 is the right way to go here
Thursday, 24 June 2021, 17:32 GMT
Reason for closing: Won't implement
Additional comments about closing: FS#23407 is the right way to go here
What use case is enabled by letting this be changed? When is 3 failed downloads not a sign that the server is out of order and shouldn't be used?
You do *not* want remote mirrors to keep being tried after 3 failures. But your local mirror should be tried infinite times so you want to disable the error limit entirely.
You don't want this configurable after all.
Although the other mentioned implementation would be a great idea, as well.