[server] Increase CDB limit to the maximum (of 4 GiB).
This commit is contained in:
parent
c977ec393a
commit
25fd707a2f
1 changed files with 1 additions and 1 deletions
|
@ -845,7 +845,7 @@ func main_0 () (error) {
|
||||||
if _cdbFileSize_0 < 1024 {
|
if _cdbFileSize_0 < 1024 {
|
||||||
AbortError (nil, "[6635a2a8] failed opening archive: file is too small (or empty)!")
|
AbortError (nil, "[6635a2a8] failed opening archive: file is too small (or empty)!")
|
||||||
}
|
}
|
||||||
if _cdbFileSize_0 >= (2 * 1024 * 1024 * 1024) {
|
if _cdbFileSize_0 >= (4 * 1024 * 1024 * 1024) {
|
||||||
AbortError (nil, "[545bf6ce] failed opening archive: file is too large!")
|
AbortError (nil, "[545bf6ce] failed opening archive: file is too large!")
|
||||||
}
|
}
|
||||||
_cdbFileSize = int (_cdbFileSize_0)
|
_cdbFileSize = int (_cdbFileSize_0)
|
||||||
|
|
Loading…
Reference in a new issue