fedora bug fix
This commit is contained in:
+2
-6
@@ -83,12 +83,8 @@ say_cyan "Optimizing DNF for speed..."
|
||||
# 1. Enable fastest mirror (lowest latency)
|
||||
# 2. Increase parallel downloads (allows downloading multiple packages at once)
|
||||
# 3. Set a minimum rate to drop slow mirrors automatically
|
||||
sudo tee -a /etc/dnf/dnf.conf <<EOF
|
||||
fastestmirror=True
|
||||
max_parallel_downloads=25
|
||||
minrate=100k
|
||||
timeout=15
|
||||
EOF
|
||||
sudo dnf config-manager setopt fastestmirror=1
|
||||
sudo dnf config-manager setopt max_parallel_downloads=20
|
||||
|
||||
say_green "DNF optimized. Refreshing metadata..."
|
||||
sudo dnf makecache --refresh
|
||||
|
||||
Reference in New Issue
Block a user