Skip to content

Commit

Permalink
revert increasing default save_frequency_hours to reduce memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle committed Nov 25, 2024
1 parent 764ea28 commit 6e32a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assume/scenario/loader_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def setup_world(
forecaster = scenario_data["forecaster"]

# save every thousand steps by default to free up memory
save_frequency_hours = config.get("save_frequency_hours", 1000)
save_frequency_hours = config.get("save_frequency_hours", 48)
# Disable save frequency if CSV export is enabled
if world.export_csv_path and save_frequency_hours is not None:
save_frequency_hours = None
Expand Down

0 comments on commit 6e32a59

Please sign in to comment.