1
0
Fork 0
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:
winlin 2014-07-27 17:23:07 +08:00
parent df8414af63
commit ef7a02e643
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}
}