big file testing

This commit is contained in:
dave 2019-05-04 20:33:20 -07:00
parent 0941e63b93
commit 64f51bdf7c
2 changed files with 5 additions and 2 deletions

View File

@ -313,7 +313,7 @@ Description: Generated by Repobot
yield "package name: {}\n".format(pkgname)
yield "package size: {}\n".format(fsize)
yield "package message:\n-----------------\n{}\n-----------------\n".format(p.message)
yield "package hashes: {}".format(fhashes)
yield "package hashes: {}\n".format(fhashes)
def regen_dist(self, dist_id):
self.queue.put((dist_id, ))
@ -424,7 +424,7 @@ class AptFiles(object):
def stream():
while True:
data = response["Body"].read()
data = response["Body"].read(65535)
if not data:
return
yield data

View File

@ -71,6 +71,9 @@ def main():
'server.show_tracebacks': True,
'log.screen': False,
'engine.autoreload.on': args.debug,
'server.max_request_body_size': 0,
'server.socket_timeout': 3600,
'response.timeout': 3600
})
def signal_handler(signum, stack):