Skip to content

Commit 774441f

Browse files
nipunn1313Convex, Inc.
authored and
Convex, Inc.
committed
Fix bug where http_actions are not contributing to function usage (#27350)
GitOrigin-RevId: 4568fee7f5161ce163d42aec8390826d2f340b86
1 parent 3e10e2c commit 774441f

File tree

1 file changed

+3
-1
lines changed
  • crates/usage_tracking/src

1 file changed

+3
-1
lines changed

crates/usage_tracking/src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ impl CallType {
206206

207207
fn memory_megabytes(&self) -> u64 {
208208
match self {
209-
CallType::Action { memory_in_mb, .. } => *memory_in_mb,
209+
CallType::Action { memory_in_mb, .. } | CallType::HttpAction { memory_in_mb, .. } => {
210+
*memory_in_mb
211+
},
210212
_ => 0,
211213
}
212214
}

0 commit comments

Comments
 (0)