Skip to content

Commit

Permalink
fix - file size limit not work on plane.settings.production (#3160)
Browse files Browse the repository at this point in the history
* fix - file size limit not work on plane.settings.production

* fix - file size limit not work on plane.settings.production

* fix - file size limit not work on plane.settings.production, move to common.py

---------

Co-authored-by: luanduongtel4vn <[email protected]>
Co-authored-by: sriram veeraghanta <[email protected]>
  • Loading branch information
3 people authored Dec 21, 2023
1 parent 3224dc4 commit 1e464d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apiserver/plane/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@
# Skip environment variable configuration
SKIP_ENV_VAR = os.environ.get("SKIP_ENV_VAR", "1") == "1"

DATA_UPLOAD_MAX_MEMORY_SIZE = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))

# Segway
SEGWAY_BASE_URL = os.environ.get("SEGWAY_BASE_URL", "http://localhost:9000")
SEGWAY_KEY = os.environ.get("SEGWAY_KEY", False)

0 comments on commit 1e464d8

Please sign in to comment.