We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3d5c03 commit 5d1f4c3Copy full SHA for 5d1f4c3
src/crawlee/_utils/system.py
@@ -93,8 +93,9 @@ def get_cpu_info() -> CpuInfo:
93
It utilizes the `psutil` library. Function `psutil.cpu_percent()` returns a float representing the current
94
system-wide CPU utilization as a percentage.
95
"""
96
- logger.debug('Calling get_cpu_info()...')
97
- cpu_percent = psutil.cpu_percent(interval=0.1)
+
+ cpu_percent = psutil.cpu_percent()
98
+ logger.info(f'Calling get_cpu_info()...: {cpu_percent}')
99
return CpuInfo(used_ratio=cpu_percent / 100)
100
101
0 commit comments