-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove panic and return image length 0 in header on error * Fix index error, add pry * Run resize in a thread so ruby will GC it Ruby does not GC the wasm instance in creators unless we run this in a thread and extract the value. Also added a test for resizing a photo multiple times in order to test crashing, memory use, etc. * Disable GC while calling WASM Puma crashes unless we disable GC while interacting with wasmer. * Update python lib to not use exceptions * Update thumbnail.py Co-authored-by: eV <[email protected]> Co-authored-by: eV <[email protected]>
- Loading branch information
1 parent
095efbf
commit 340b7a8
Showing
7 changed files
with
115 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+132 KB
(110%)
wasm-thumbnail-rb/lib/wasm/thumbnail/rb/data/wasm_thumbnail.wasm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters