forked from cimryan/teslausb
-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of truncating the log only after archiving, truncate it whenever it gets above 1M bytes. This prevents the log from growing out of control if TeslaUSB is configured to not do any archiving, or if archiving never completes for some reason.
- Loading branch information
Showing
1 changed file
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters