diff --git a/lib/stream.cpp b/lib/stream.cpp index 42991239..6e0067cb 100644 --- a/lib/stream.cpp +++ b/lib/stream.cpp @@ -1288,11 +1288,11 @@ std::set Util::wouldSelect(const DTSC::Meta &M, const std::map::iterator it = diffs.begin(); it != diffs.end(); it++){ @@ -1236,7 +1237,10 @@ namespace Mist{ if (amount > 1000){amount = 1000;} Util::sleep(amount); //Make sure we stay responsive to requests and stats while waiting - if (wantRequest){requestHandler();} + if (wantRequest){ + requestHandler(); + if (!realTime){break;} + } stats(); } }