style: auto-fix lint and format
This commit is contained in:
1 parent
062ab1ad34
commit
b6c817123f
2 files changed
+13
-5
No files matched your search
@@ -154,16 +154,16 @@ function generateSystemStatsSeries(count: number, sys: MockSystemDef): BeszelSys
|
||||
cpu,
|
||||
la: [cpu / 20 + rand(0, 0.5), cpu / 25 + rand(0, 0.3), cpu / 30 + rand(0, 0.2)] as [number, number, number],
|
||||
m: memTotalGB,
|
||||
mu: memTotalGB * memPct / 100,
|
||||
mu: (memTotalGB * memPct) / 100,
|
||||
mp: memPct,
|
||||
mb: rand(0.5, 4),
|
||||
s: 4,
|
||||
su: rand(0, 2),
|
||||
d: diskTotalGB,
|
||||
du: diskTotalGB * diskPct / 100,
|
||||
du: (diskTotalGB * diskPct) / 100,
|
||||
dp: diskPct,
|
||||
dr: (diskReadWalk[i] ?? 5),
|
||||
dw: (diskWriteWalk[i] ?? 3),
|
||||
dr: diskReadWalk[i] ?? 5,
|
||||
dw: diskWriteWalk[i] ?? 3,
|
||||
ns: (netSendWalk[i] ?? 500) * KB,
|
||||
nr: (netRecvWalk[i] ?? 800) * KB,
|
||||
b: [(netSendWalk[i] ?? 500) * KB * 0.7, (netRecvWalk[i] ?? 800) * KB * 0.7] as [number, number],
|
||||
|
||||
Reference in new issue
Block a user