Skip to content

Commit 44fbf1a

Browse files
committed
fix: Corriger le format des arguments S3FS pour le comptage parallèle et la taille multipart
1 parent b839d2a commit 44fbf1a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

sftp/common/usr/local/bin/docker-sftp-entrypoint

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,8 @@ function setupS3FS() {
173173
S3FS_ARGS="${S3FS_ARGS} -o nocopyapi"
174174
fi
175175

176-
177-
S3FS_ARGS="${S3FS_ARGS} -o parallel_count=${S3FS_PARALLEL_COUNT:-"15"}"
178-
S3FS_ARGS="${S3FS_ARGS} -o multipart_size=${S3FS_MULTIPART_SIZE:-"128"}"
176+
S3FS_ARGS="${S3FS_ARGS} -o parallel_count=$((${S3FS_PARALLEL_COUNT:-"15"}))"
177+
S3FS_ARGS="${S3FS_ARGS} -o multipart_size=$((${S3FS_MULTIPART_SIZE:-"128"}))"
179178

180179
echo "Start with s3fs ${DEBUG_OPTS} ${S3FS_ARGS} -o passwd_file=${S3FS_AUTHFILE} -o url=${AWS_ENDPOINT} -o endpoint=${AWS_DEFAULT_REGION}"
181180

0 commit comments

Comments
 (0)