Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

development #716

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions backend/apps/api/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,11 @@ def contains_closed_data(self):
closed_data = True
break

# Check if uncompressed file size is above 1 GB
if table.uncompressed_file_size and table.uncompressed_file_size > 1000000000:
# Check if uncompressed file size is between 100 MB and 1 GB
if (table.uncompressed_file_size and
table.uncompressed_file_size > 100000000 and
table.uncompressed_file_size <= 1000000000
):
closed_data = True
break

Expand Down
Loading