Commit d8d8e20b authored by Roque's avatar Roque

Change Mb(bites) to MB(bytes)

parent bf38f3f6
...@@ -311,9 +311,9 @@ function runProcess { ...@@ -311,9 +311,9 @@ function runProcess {
if [ -z "$STATUS" ]; then if [ -z "$STATUS" ]; then
if [ ! -z "$CHUNK" ]; then if [ ! -z "$CHUNK" ]; then
if [ "$CHUNK" -eq "0" ]; then if [ "$CHUNK" -eq "0" ]; then
echo "[INFO] Default chunk size: $DEFAULT_CHUNK_SIZE Mb." echo "[INFO] Default chunk size: $DEFAULT_CHUNK_SIZE MB."
else else
echo "[INFO] Chunk size set in $CHUNK Mb." echo "[INFO] Chunk size set in $CHUNK MB."
fi fi
fi fi
if [ "$DATASET_DESCRIPTION" != "" ] ; then if [ "$DATASET_DESCRIPTION" != "" ] ; then
......
...@@ -54,8 +54,8 @@ class DatasetUtils ...@@ -54,8 +54,8 @@ class DatasetUtils
OUTPUT_DELETED = "deleted: " OUTPUT_DELETED = "deleted: "
OUTPUT_RENAMED = "renamed: " OUTPUT_RENAMED = "renamed: "
MEGA = 1000000 MEGA = 1048576
CHUNK_SIZE = 50000000 #50mb CHUNK_SIZE = 52428800 #50MB
RECORD_SEPARATOR = ";" RECORD_SEPARATOR = ";"
DATE_FORMAT = "%Y-%m-%d-%H-%M-%S" DATE_FORMAT = "%Y-%m-%d-%H-%M-%S"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment