Skip to content

Commit

Permalink
Increase max scratch object size from 500kb to 1mb
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Jul 10, 2024
1 parent e14728d commit ac15cb5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/coreapp/views/scratch.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ def get_db_asm(request_asm: str) -> Asm:
return asm


# 500 KB
MAX_FILE_SIZE = 500 * 1024

# 1 MB
MAX_FILE_SIZE = 1000 * 1024

def cache_object(platform: Platform, file: File[Any]) -> Assembly:
# Validate file size
Expand Down

0 comments on commit ac15cb5

Please sign in to comment.