Truncate write ahead log if it gets too big (#10866)

* Truncate write ahead log if it gets too big

* formatting

* Reduce size
This commit is contained in:
Nicolas Mowen
2024-04-07 14:37:12 -06:00
committed by GitHub
parent 12e6e43d6c
commit f6ff1c84b8
2 changed files with 26 additions and 1 deletions

View File

@@ -39,6 +39,10 @@ AUDIO_MAX_BIT_RANGE = 32768.0
AUDIO_SAMPLE_RATE = 16000
AUDIO_MIN_CONFIDENCE = 0.5
# DB Consts
MAX_WAL_SIZE = 10 # MB
# Ffmpeg Presets
FFMPEG_HWACCEL_NVIDIA = "preset-nvidia"