mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the disk io busy, can >1
This commit is contained in:
parent
df8414af63
commit
ef7a02e643
2 changed files with 2 additions and 2 deletions
|
@ -526,7 +526,7 @@ void srs_update_disk_stat()
|
|||
unsigned int ticks = r.ticks - o.ticks;
|
||||
|
||||
// busy in [0, 1], where 0.1532 means 15.32%
|
||||
r.busy = srs_min(1, (float)(ticks / delta_ms));
|
||||
r.busy = (float)(ticks / delta_ms);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue