Skip to content

Commit 471a2d8

Browse files
committed
chore: increase win32 4.0.4/4.0.5 requests to 10%
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
1 parent d976b47 commit 471a2d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
// Win32 4.0.4 and 4.0.5 do not follow HTTP redirects, which fails the download of updates
9191
if ($platform == "win32" && (version_compare($version, '4.0.4', '>=') && version_compare($version, '4.0.6', '<'))) {
9292
$stableUrl = 'https://download.nextcloud.com/desktop/releases/Windows/';
93-
if (rand(0, 100) >= 2) {
94-
// only allow ~2% of requests receive an update to not overload the download server
93+
if (rand(0, 100) >= 10) {
94+
// only allow ~10% of requests receive an update to not overload the download server
9595
$stableVersion = '4.0.4';
9696
}
9797
}

0 commit comments

Comments
 (0)