Skip to content

Commit 09deeaf

Browse files
Add wasm_memory_threshold
1 parent 9c80fb4 commit 09deeaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ic-utils/src/interfaces/management_canister.rs

+2
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ pub struct DefiniteCanisterSettings {
180180
pub reserved_cycles_limit: Option<Nat>,
181181
/// A soft limit on the Wasm memory usage of the canister in bytes (up to 256TiB).
182182
pub wasm_memory_limit: Option<Nat>,
183+
/// 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)
184+
pub wasm_memory_threshold: Option<Nat>,
183185
/// The canister log visibility. Defines which principals are allowed to fetch logs.
184186
pub log_visibility: LogVisibility,
185187
}

0 commit comments

Comments
 (0)