Skip to content

Commit

Permalink
Reduce default max storage size
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan committed Mar 3, 2023
1 parent 832e942 commit afb597e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.18] - 2023-03-03

### Fixed

- Check file size according to the subscription [@AivGitHub](https://github.com/AivGitHub/).

## [0.0.17] - 2023-03-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

MAGIC_MIME = magic.Magic(mime=True)
DEFAULT_MAX_FILE_SIZE: int = 10485760 # 10 * 2 ^ 20 = 10 MB
DEFAULT_MAX_STORAGE_SIZE: int = 10737418240 # 10 * 2 ^ 30 = 10 GB
DEFAULT_MAX_STORAGE_SIZE: int = 2147483648 # 2 * 2 ^ 30 = 2 GB


class User(AbstractBaseUser, PermissionsMixin):
Expand Down

0 comments on commit afb597e

Please sign in to comment.