Skip to content

Commit

Permalink
chore: tiny refactors
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx committed Apr 8, 2024
1 parent f77d980 commit dce4999
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/compute/src/memory/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,20 +190,20 @@ impl LruWatermarkController {

self.metrics
.jemalloc_allocated_bytes
.set(jemalloc_allocated_bytes as i64);
.set(jemalloc_allocated_bytes as _);
self.metrics
.jemalloc_active_bytes
.set(jemalloc_active_bytes as i64);
.set(jemalloc_active_bytes as _);
self.metrics
.jemalloc_resident_bytes
.set(jemalloc_resident_bytes as i64);
.set(jemalloc_resident_bytes as _);
self.metrics
.jemalloc_metadata_bytes
.set(jemalloc_metadata_bytes as i64);
.set(jemalloc_metadata_bytes as _);
self.metrics
.jvm_allocated_bytes
.set(jvm_allocated_bytes as i64);
self.metrics.jvm_active_bytes.set(jvm_active_bytes as i64);
.set(jvm_allocated_bytes as _);
self.metrics.jvm_active_bytes.set(jvm_active_bytes as _);

self.watermark_sequence
}
Expand Down

0 comments on commit dce4999

Please sign in to comment.