[MacPorts] #60509: Upgrading ports sometimes breaks internet connection
MacPorts
noreply at macports.org
Wed May 20 20:08:35 UTC 2020
#60509: Upgrading ports sometimes breaks internet connection
---------------------+--------------------
Reporter: iEFdev | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.2
Resolution: | Keywords:
Port: |
---------------------+--------------------
Comment (by jmroot):
Replying to [comment:4 ryandesign]:
> Possible solutions:
>
> 1. We could trim the list of perl cpan [https://github.com/macports
/macports-ports/blob/master/_resources/port1.0/fetch/mirror_sites.tcl
mirrors] to a more reasonable number.
> 2. MacPorts base could spawn only a `ping` process for each host and
perform the equivalent of the `grep` and `cut` commands using Tcl string
processing.
Why not both? :-)
> 3. MacPorts base could limit the number of hosts that it checks
simultaneously.
That's not easy to do correctly and efficiently. The pings are run in
parallel so that the overall time for the check is not the sum of the
individual response times (which may be up to 3 seconds in case of a
timeout).
--
Ticket URL: <https://trac.macports.org/ticket/60509#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list