Skip to content

Commit 2b86beb

Browse files
committed
Fix CPU usage calculation
1 parent ee24dc2 commit 2b86beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apify/_platform_event_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def to_crawlee_format(self) -> EventSystemInfoData:
4949
return EventSystemInfoData.model_validate(
5050
{
5151
'cpu_info': {
52-
'used_ratio': self.cpu_current_usage,
52+
'used_ratio': self.cpu_current_usage / 100,
5353
'created_at': self.created_at,
5454
},
5555
'memory_info': {

0 commit comments

Comments
 (0)