Skip to content

Commit

Permalink
FRONTEND::FIXED: wrong size format
Browse files Browse the repository at this point in the history
  • Loading branch information
ELDiablO59152 committed Jul 23, 2024
1 parent a1c10ec commit 6cf23b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vulture_os/services/frontend/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1857,11 +1857,11 @@ def render_ruleset_options(self):
"highWatermark": self.high_watermark,
"lowWatermark": self.low_watermark,
"spoolDirectory": self.spool_directory,
"maxFileSize": self.max_file_size,
"maxDiskSpace": self.max_disk_space,
"maxFileSize": f"{self.max_file_size}m",
"maxDiskSpace": f"{self.max_disk_space}m",
"saveOnShutdown": "on" if self.save_on_shutdown else None,
"filename": f"{self.get_ruleset()}_disk-queue",
"checkpointInterval": 128
"checkpointInterval": 1024
})

options_dict = dict(filter(lambda x: x[1], options_dict.items()))
Expand Down

0 comments on commit 6cf23b8

Please sign in to comment.