http_client: increase max body size
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
0164bb239e
commit
f15ec23c3a
|
@ -32,7 +32,11 @@ if TYPE_CHECKING:
|
|||
from io import BufferedWriter
|
||||
StrOrPath = Union[str, pathlib.Path]
|
||||
|
||||
AsyncHTTPClient.configure(None, defaults=dict(user_agent="Moonraker"))
|
||||
MAX_BODY_SIZE = 512 * 1024 * 1024
|
||||
AsyncHTTPClient.configure(
|
||||
None, defaults=dict(user_agent="Moonraker"),
|
||||
max_body_size=MAX_BODY_SIZE
|
||||
)
|
||||
|
||||
GITHUB_PREFIX = "https://api.github.com/"
|
||||
|
||||
|
|
Loading…
Reference in New Issue