Skip to content

Commit

Permalink
Update blackbox_log_data.py
Browse files Browse the repository at this point in the history
Made it so that oldest .csv data file can be 7 days old instead of 1 before it gets deleted
  • Loading branch information
PizzaAllTheWay authored Apr 7, 2024
1 parent f99a935 commit 5c578dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mission/blackbox/blackbox/blackbox_log_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self,
# Methods for inside use of the class ----------
def manage_csv_files(
self,
max_file_age_in_days=1,
max_file_age_in_days=7,
max_size_kb=3_000_000,
): #adjust the max size before you start deleting old files (1 000 000 kb = 1 000 mb = 1 gb)
current_time = datetime.now()
Expand Down

0 comments on commit 5c578dd

Please sign in to comment.