Skip to content

Commit

Permalink
LOGOM::CHANGED:: Allow to not limit the size taken on disk by DA queues
Browse files Browse the repository at this point in the history
parameter max_disk_space only needs to be set to zero
this value is the new default
  • Loading branch information
frikilax committed Mar 20, 2024
1 parent 72c1f47 commit c4709d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- [DEPENDENCIES] Upgrade djongo and code for pymongo>=4
- [LOGOM] Code and logic factorization
- [LOGOM] Allow to deactivate limitation of the size of DA queues on disk
- [LOGOM] [ELASTICSEARCH] Limit available certificates to non-CA ones


Expand Down
6 changes: 3 additions & 3 deletions vulture_os/applications/logfwd/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ class LogOM (models.Model):
validators=[MinValueValidator(1)]
)
max_disk_space = models.IntegerField(
default=1024,
default=0,
null=False,
help_text=_("Limit the maximum disk space used by the queue in MB"),
verbose_name=_("Max disk space used by the queue in MB"),
validators=[MinValueValidator(1)]
verbose_name=_("Max disk space used by the queue in MB (set to zero to disable)"),
validators=[MinValueValidator(0)]
)
send_as_raw = models.BooleanField(
default=False,
Expand Down

0 comments on commit c4709d8

Please sign in to comment.