瀏覽代碼

Bump read size

master
JustAnotherArchivist 2 年之前
父節點
當前提交
06d60a798c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny 查看文件

@@ -142,7 +142,7 @@ def iter_warc(f):
# Read WARC header
while b'\r\n\r\n' not in buf:
try:
buf = buf + fp.read(4096)
buf = buf + fp.read(16777216)
except EOFError:
break
if not buf:


Loading…
取消
儲存