~cypheon/trakka

e15234ff59f1ac0e52c2873e17fdcc130a53c9b6 — Johann Rudloff 3 years ago c563607
Increase maximum upload filesize to 50MB
1 files changed, 1 insertions(+), 1 deletions(-)

M activities/services.py
M activities/services.py => activities/services.py +1 -1
@@ 20,7 20,7 @@ import time

logger = logging.getLogger(__name__)

UPLOAD_MAX_SIZE = 5_000_000 # 5 MB
UPLOAD_MAX_SIZE = 50_000_000 # 50 MB

def create_activity(user: User, title: str, data: bytes):
    h = hashlib.blake2b(digest_size=32)