Skip to content

Commit

Permalink
Gateway: Set bottle request limit to 1MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanasius committed Jan 6, 2022
1 parent 87b33e4 commit 0e80c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/eddn/Gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@

from gevent import monkey
monkey.patch_all()
import bottle
from bottle import Bottle, run, request, response, get, post
bottle.BaseRequest.MEMFILE_MAX = 1024 * 1024 # 1MiB, default is/was 100KiB
app = Bottle()

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 0e80c76

Please sign in to comment.