Skip to content

Commit

Permalink
Fixes #11061. Speed up TFW recovery after falling behind on writes.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Thor Kristjansson <danielk@cuymedia.net>
  • Loading branch information
Bill authored and daniel-kristjansson committed Oct 12, 2012
1 parent 7a08dd5 commit dc0bf9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/ThreadedFileWriter.cpp
Expand Up @@ -483,7 +483,7 @@ void ThreadedFileWriter::DiskLoop(void)

locker.relock();

if (!in_dtor)
if ((tot < sz) && !in_dtor)
bufferHasData.wait(locker.mutex(), 50);
}

Expand Down

0 comments on commit dc0bf9b

Please sign in to comment.