mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-20 16:53:54 +03:00
Gateway: Set bottle request limit to 1MiB
This commit is contained in:
parent
87b33e4d1b
commit
0e80c76cb5
@ -21,7 +21,9 @@ from eddn.core.Validator import Validator, ValidationSeverity
|
|||||||
|
|
||||||
from gevent import monkey
|
from gevent import monkey
|
||||||
monkey.patch_all()
|
monkey.patch_all()
|
||||||
|
import bottle
|
||||||
from bottle import Bottle, run, request, response, get, post
|
from bottle import Bottle, run, request, response, get, post
|
||||||
|
bottle.BaseRequest.MEMFILE_MAX = 1024 * 1024 # 1MiB, default is/was 100KiB
|
||||||
app = Bottle()
|
app = Bottle()
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user