Skip to content

Commit

Permalink
Change storage fallback value to 10GB
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Sep 19, 2024
1 parent df4a89d commit 0fdaaec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ All notable changes to this project are documented in this file.
This project adheres to `Semantic Versioning <http://semver.org/>`_.


==========
Unreleased
==========

Changed
-------
- Change fallback for storage resource from 200GB to 10GB


===================
40.3.0 - 2024-09-16
===================
Expand Down
2 changes: 1 addition & 1 deletion resolwe/flow/models/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def get_resource_limits(self, data: Optional[Data] = None):
# Known resources.
resources = ["cores", "memory", "storage"]
# When no resources are defined, use fallback.
fallback = {"cores": 1, "memory": 4096, "storage": 200}
fallback = {"cores": 1, "memory": 4096, "storage": 10}

# Prepare requirements from environment.
environment_settings = getattr(settings, "FLOW_PROCESS_RESOURCE_OVERRIDES", {})
Expand Down

0 comments on commit 0fdaaec

Please sign in to comment.