]> git.ipfire.org Git - pbs.git/commitdiff
hub: Accept file uploads of up to 1GB
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 May 2022 09:58:52 +0000 (09:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 May 2022 09:58:52 +0000 (09:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/pakfire-hub

index 05cd94a9f4db66bc4a3588a2322abde8f6ec9a11..df12429fc595a591a45c3306003f4ad15c446eb1 100644 (file)
@@ -13,7 +13,11 @@ def run():
 
        # Initialise application
        app = pakfire.buildservice.hub.Application(debug=tornado.options.options.debug)
-       app.listen(tornado.options.options.port, xheaders=True)
+       app.listen(
+               tornado.options.options.port,
+               xheaders=True,
+               max_body_size=1073741824,
+       )
 
        # Launch IOLoop
        tornado.ioloop.IOLoop.current().start()