mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-11-03 18:47:25 +09:00
Pull request 1757: fix-updater
Merge in DNS/adguard-home from fix-updater to master Squashed commit of the following: commit 8103b0988b59a916fd84a5ca041b9a9fea606ebc Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Mar 1 14:28:54 2023 +0300 updater: fix max size
This commit is contained in:
1 parent
51b72a4cd8
commit
ae653f166f
1 file changed
+1
-1
@@ -315,7 +315,7 @@ func (u *Updater) clean() {
|
||||
// MaxPackageFileSize is a maximum package file length in bytes. The largest
|
||||
// package whose size is limited by this constant currently has the size of
|
||||
// approximately 9 MiB.
|
||||
const MaxPackageFileSize = 32 * 10 * 1024
|
||||
const MaxPackageFileSize = 32 * 1024 * 1024
|
||||
|
||||
// Download package file and save it to disk
|
||||
func (u *Updater) downloadPackageFile() (err error) {
|
||||
|
||||
Reference in new issue
Block a user