-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: when deserialization of module from filesystem cache fails, rem…
…ove from cache (#138) * feat: remove in-memory SerializedModuleCache, move logic to perist serialized modules to filesystem into ModuleCache * chore: cleaner docs * chore: fmt + clippy * chore: rename fn for clarity * chore: clearer code * feat: when deserialization of module from filesystem cache fails, remove from cache * chore: comment clarity Co-authored-by: ThetaSinner <[email protected]> * chore: wording Co-authored-by: ThetaSinner <[email protected]> * chore: link to github discussion Co-authored-by: Jost <[email protected]> * chore: clearer simpler naming without redundant 'Serialized' and 'Deserialized' * refactor: separate concerns ModuleBuilder from ModuleCache * feat: tracing log when deleting file fails, re-build wasm and save to both caches after filesystem deserialization failure * test: use TempDir so dir is deleted on Drop --------- Co-authored-by: ThetaSinner <[email protected]> Co-authored-by: Jost <[email protected]>
- Loading branch information
1 parent
4961063
commit dbbda5b
Showing
3 changed files
with
140 additions
and
47 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
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