Added sleep to config

This commit is contained in:
Sándor 2021-05-21 15:55:31 +02:00
parent 1319b4349a
commit 41997d664f
3 changed files with 2 additions and 1 deletions

BIN
.gitignore vendored Normal file

Binary file not shown.

View File

@ -4,5 +4,6 @@
"hls":"http:\/\/127.0.0.1:8080\/hls\/live.stream.m3u8",
"pid":"\/home\/example\/hls-recorder\/ffmpeg-flock",
"mail":["info@example.org","dir@example.org"],
"sleep":5,
"loglevel":1
}

View File

@ -93,6 +93,6 @@ while (true) :
else
logger(1, 'API can not be accessed');
sleep(5);
sleep($_set->sleep);
endwhile;