Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

When writing the diff file, Niffy does not wait for stream to close #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

msimr
Copy link

@msimr msimr commented Feb 2, 2018

We encountered this issue while adding an upload to S3 to our after phase.
The file uploaded to S3 contained partial data; indicating that there was multiple processes competing to write and read the file.
Fix is a simple on close handler used with thunkify.
We also bumped the version of pngjs.

Let us know what you think.

note: potential bug/omission found in pngjs. Will be filed.
https://github.com/lukeapage/pngjs/blob/master/lib/png.js#L43

…stream.

We encountered this issue while adding an upload to S3 to our after phase.
The file uploaded to S3 contained partial data; indicating that there was two process competing to write and read the file.
Fix is a simple on close handler.
We also bumped the version of pngjs.

note: potential bug/omission found in pngjs
https://github.com/lukeapage/pngjs/blob/master/lib/png.js#L43
This was referenced Apr 4, 2018
@syl20bnr
Copy link

syl20bnr commented May 18, 2018

@fouad When do you plan to merge this PR ? We still have random truncated PNGs when uploading to S3 which is a bit problematic to see the diffs :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants