fix hs inter message delay being too tight

This commit is contained in:
Green Sky 2024-12-03 18:49:31 +01:00
parent c74c28ab3b
commit 013fb45cf9
No known key found for this signature in database

View File

@ -40,7 +40,7 @@ class ZoxNGCHistorySync : public ToxEventI, public ZoxNGCEventI {
// 0.3s-0.6s // 0.3s-0.6s
const float _delay_between_syncs_min {0.3f}; const float _delay_between_syncs_min {0.3f};
const float _delay_between_syncs_add {0.3f}; const float _delay_between_syncs_add {0.6f};
std::uniform_real_distribution<float> _rng_dist {0.0f, 1.0f}; std::uniform_real_distribution<float> _rng_dist {0.0f, 1.0f};
std::minstd_rand _rng; std::minstd_rand _rng;