Fixed sanitycheck output
This commit is contained in:
parent
63acbb1ddb
commit
98e4ca6997
1 changed files with 7 additions and 5 deletions
|
@ -7,11 +7,11 @@
|
||||||
namespace Mist{
|
namespace Mist{
|
||||||
OutSanityCheck::OutSanityCheck(Socket::Connection &conn) : Output(conn){
|
OutSanityCheck::OutSanityCheck(Socket::Connection &conn) : Output(conn){
|
||||||
streamName = config->getString("streamname");
|
streamName = config->getString("streamname");
|
||||||
if (config->getOption("fakepush", true).size()){
|
//if (config->getOption("fakepush", true).size()){
|
||||||
pushMultiplier = config->getInteger("fakepush");
|
//pushMultiplier = config->getInteger("fakepush");
|
||||||
if (!allowPush("testing")){onFinish();}
|
// if (!allowPush("testing")){onFinish();}
|
||||||
return;
|
// return;
|
||||||
}
|
//}
|
||||||
parseData = true;
|
parseData = true;
|
||||||
wantRequest = false;
|
wantRequest = false;
|
||||||
initialize();
|
initialize();
|
||||||
|
@ -80,12 +80,14 @@ namespace Mist{
|
||||||
config = cfg;
|
config = cfg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
void OutSanityCheck::requestHandler(){
|
void OutSanityCheck::requestHandler(){
|
||||||
if (!pushing){
|
if (!pushing){
|
||||||
Output::requestHandler();
|
Output::requestHandler();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
void OutSanityCheck::sendNext(){
|
void OutSanityCheck::sendNext(){
|
||||||
if (M.getLive()){
|
if (M.getLive()){
|
||||||
|
|
Loading…
Add table
Reference in a new issue