be a bit more patient so ffmpeg can restart
This commit is contained in:
@@ -52,7 +52,7 @@ def main():
|
|||||||
break
|
break
|
||||||
|
|
||||||
if event is None:
|
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...')
|
log.error('no more notifications: restarting...')
|
||||||
break
|
break
|
||||||
empty_count += 1
|
empty_count += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user