|
@@ -4682,9 +4682,11 @@
|
|
|
if (data.error !== undefined){
|
|
|
|
|
|
}else{
|
|
|
- console.log("[File Explorer] Setting huge file cutoff size at: " + ao_module_utils.formatBytes(data.Avilable/16));
|
|
|
if (!isNaN(data.Avilable) && data.Avilable > 0){
|
|
|
largeFileCutoffSize = data.Avilable/16 - 4096;
|
|
|
+ console.log("[File Explorer] Setting huge file cutoff size at: " + ao_module_utils.formatBytes(data.Avilable/16));
|
|
|
+ }else if (isNaN(data.Avilable)){
|
|
|
+ console.log("[File Explorer] Unable to read available tmp disk size. Using default huge file cutoff size.");
|
|
|
}
|
|
|
|
|
|
}
|