Fixed input buffering for pages ending in a key > 20s long, added debug message when output reconnects to input during prepareNext.

This commit is contained in:
Thulinma 2020-10-02 21:54:42 +02:00
parent f4051b5916
commit 942ca0c1d1
2 changed files with 8 additions and 0 deletions

View file

@ -1564,6 +1564,7 @@ namespace Mist{
}
//every ~16 seconds, reconnect to metadata
if (emptyCount % 1600 == 0){
INFO_MSG("Reconnecting to input; track %" PRIu64 " key %zu is on page %zu and we're currently serving %zu from %zu", nxt.tid, thisKey+1, nextKeyPage, thisKey, currentPage[nxt.tid]);
reconnect();
if (!meta){
onFail("Could not connect to stream data", true);