-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [EXC-1831] Low Wasm memory hook will run once the canister's unf…
…rozen if it was scheduled before freezing (#3455) Problem: @mraszyk noticed [here](dfinity/portal#3761 (comment)) that property: ”If the canister gets frozen immediately after the function is scheduled for execution, the function will run once the canister's unfrozen if the canister's wasm memory remains above the threshold t.” is missing. Solution: When execution of the hook is stopped because of the freezing canister, add the hook again to the task queue.
- Loading branch information
1 parent
85af5fc
commit 57047d6
Showing
2 changed files
with
143 additions
and
14 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