Fixed 5s timer for protocol status checker.

This commit is contained in:
Thulinma 2014-08-04 16:00:37 +02:00
parent 5264fbf546
commit 2c972c0829
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ void statusMonitor(void * np){
Controller::CheckAllStreams(Controller::Storage["streams"]);
Controller::myConverter.updateStatus();
}
Util::sleep(5000);//sleep 5 seconds
Util::wait(5000);//wait at least 5 seconds
}
}

View file

@ -64,7 +64,7 @@ void Controller::checkConfig(JSON::Value & in, JSON::Value & out){
Util::Config::printDebugLevel = out["debug"].asInt();
INFO_MSG("Debug level set to %u", Util::Config::printDebugLevel);
}
}
}
}
///\brief Checks an authorization request for a given user.