[server] Increase CDB limit to the maximum (of 4 GiB).

This commit is contained in:
Ciprian Dorin Craciun 2021-11-17 23:08:49 +02:00
parent c977ec393a
commit 25fd707a2f

View file

@ -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)