When the --tail loop is enabled it will loop using --tail-interval and also will create a new context which is passed down that has a hard timeout on it.
Basically, add some kind of read time thing that will exit the loop if you have no data for duration.
When the
--tail
loop is enabled it will loop using--tail-interval
and also will create a new context which is passed down that has a hard timeout on it.Basically, add some kind of read time thing that will exit the loop if you have no data for duration.