be a bit more patient so ffmpeg can restart

This commit is contained in:
frederik
2024-10-27 11:02:14 +01:00
parent 23f52ae673
commit ea7cdd6686
+1 -1
View File
@@ -52,7 +52,7 @@ def main():
break
if event is None:
if empty_count > (conf.getint('RECORDING_LENGTH') * 2):
if empty_count > (conf.getint('RECORDING_LENGTH') * 2 + 30):
log.error('no more notifications: restarting...')
break
empty_count += 1