Skip to content

Commit

Permalink
Add wasm_memory_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Dec 30, 2024
1 parent 9c80fb4 commit 09deeaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ic-utils/src/interfaces/management_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ pub struct DefiniteCanisterSettings {
pub reserved_cycles_limit: Option<Nat>,
/// A soft limit on the Wasm memory usage of the canister in bytes (up to 256TiB).
pub wasm_memory_limit: Option<Nat>,
/// A threshold limit on the Wasm memory usage of the canister in bytes, at which the canister's `on_low_wasm_memory` hook will be called (up to 256TiB)
pub wasm_memory_threshold: Option<Nat>,
/// The canister log visibility. Defines which principals are allowed to fetch logs.
pub log_visibility: LogVisibility,
}
Expand Down

0 comments on commit 09deeaf

Please sign in to comment.