ui updates

This commit is contained in:
MoonDev
2025-05-22 01:54:24 +03:00
parent 127fe617ec
commit 5d47f71e0a
21 changed files with 638 additions and 206 deletions

View File

@@ -21,7 +21,7 @@ async def get_system_metrics(args: Dict[str, Any]) -> Dict[str, Any]:
"""
try:
# Get CPU usage (averaged over 0.1 seconds for responsiveness)
cpu_usage = await asyncio.to_thread(psutil.cpu_percent, interval=0.1)
cpu_usage = await asyncio.to_thread(psutil.cpu_percent, interval=1)
# Get RAM usage
memory = psutil.virtual_memory()