mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-09 08:00:50 +00:00
take timestamp upon recv current stat
This commit is contained in:
@@ -47,6 +47,7 @@ function useCurrentStats() {
|
||||
components: true,
|
||||
processes: true,
|
||||
});
|
||||
stats.refresh_ts = Date.now();
|
||||
setStats((curr) => [...(curr.length > 200 ? curr.slice(1) : curr), stats]);
|
||||
};
|
||||
let timeout = -1;
|
||||
|
||||
Reference in New Issue
Block a user