Due to the way we model logs, this is best handled by throwing a tail at the end of the pipe, after sort. We could include the limit as a hint that we don't need any more lines to the end hooks (so they don't stream the entire file to us), but Bash & co. are good about handling firehoses like that, so for now we'll just leave it off. (We might add this as another parameter to the hook after we figure out filtering.)
Per Heroku:
Due to the way we model logs, this is best handled by throwing a
tail
at the end of the pipe, aftersort
. We could include the limit as a hint that we don't need any more lines to the end hooks (so they don't stream the entire file to us), but Bash & co. are good about handling firehoses like that, so for now we'll just leave it off. (We might add this as another parameter to the hook after we figure out filtering.)