From a27943ea14993c9969d2898406e60357de1fc059 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 14 Oct 2019 12:59:59 -0400 Subject: [PATCH] update time_to_first_byte.py --- lbry/scripts/time_to_first_byte.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/scripts/time_to_first_byte.py b/lbry/scripts/time_to_first_byte.py index 88de9e48f..8d79beeea 100644 --- a/lbry/scripts/time_to_first_byte.py +++ b/lbry/scripts/time_to_first_byte.py @@ -58,7 +58,7 @@ async def main(cmd_args=None): start = time.perf_counter() kwargs = { 'page': page, - # 'claim_type': 'stream', + 'claim_type': 'stream', 'order_by': ['trending_global', 'trending_mixed'], 'no_totals': True } @@ -153,7 +153,7 @@ if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--allow_fees", action='store_true') parser.add_argument("--exit_on_error", action='store_true') - parser.add_argument("--stall_download_timeout", default=0, type=int) + parser.add_argument("--stall_download_timeout", default=5, type=int) parser.add_argument("--keep_files", action='store_true') parser.add_argument("--head_blob_only", action='store_true') parser.add_argument("--download_pages", type=int, default=10)