Skip to content

Commit

Permalink
Performance optimization for apk packages: This patch dramatically im…
Browse files Browse the repository at this point in the history
…proves

performance when building larger alpine apk packages.
  • Loading branch information
jandelgado authored and jordansissel committed Jul 20, 2017
1 parent 78853a8 commit c7393be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/apk.rb
Expand Up @@ -238,7 +238,7 @@ def hash_datatar(target_path)
record_length = determine_record_length(record_length)

until(data.length == record_length)
data += file.read(TAR_CHUNK_SIZE)
data << file.read(TAR_CHUNK_SIZE)
end

# Clear ownership fields
Expand Down

0 comments on commit c7393be

Please sign in to comment.