forge
Explore
Log in

Don't you dare go Hollow

Pacer runs at 5x layer bitrate so a capped frame (66 ms of max rate) leaves within one 60 fps interval instead of queueing behind the next

Browse files at this commit

5cfdcf4ac72662cedaf5086ffce590fc11862e68Ahmet Kaan GümüşParent: 76c36f7
  • fix
    • pacer runs at 5x layer bitrate so a capped frame (66 ms of max rate) leaves within one 60 fps interval instead of queueing behind the next
Show full message
🐛 fix: pacer runs at 5x layer bitrate so a capped frame (66 ms of max rate) leaves within one 60 fps interval instead of queueing behind the next
crates/client/src/share/pacer.rsmodified+1 -1
@@ -1,6 +1,6 @@
1 use std::time::{Duration, Instant};1 use std::time::{Duration, Instant};
2 2
3-const FACTOR: f64 = 2.5;3+const FACTOR: f64 = 5.;
4 const BURST_BYTES: f64 = 16. * 1024.;4 const BURST_BYTES: f64 = 16. * 1024.;
5 const MIN_BYTES_PER_SECOND: f64 = 256. * 1024.;5 const MIN_BYTES_PER_SECOND: f64 = 256. * 1024.;
6 6