Compare commits

..

No commits in common. "b83d7a3007e0c98354f8a7a5e0ab58bfa01e15f0" and "d4c485a85456c24d0a9815f9324682a0a7cb10e4" have entirely different histories.

View File

@ -27,14 +27,6 @@ std::chrono::milliseconds Producer::compute_delay(SysfsStatus status) const
{ // when error = temp too high
return hot;
}
if (status == SysfsStatus::Enabled)
{
static std::random_device rd;
static std::mt19937 gen(rd());
std::uniform_int_distribution<int> dist(1000,5000); //jittered around 3s with +-2s
return std::chrono::milliseconds(dist(gen));
}
else
{
return standard;