Added sleep to config
This commit is contained in:
parent
1319b4349a
commit
41997d664f
BIN
.gitignore
vendored
Normal file
BIN
.gitignore
vendored
Normal file
Binary file not shown.
@ -4,5 +4,6 @@
|
|||||||
"hls":"http:\/\/127.0.0.1:8080\/hls\/live.stream.m3u8",
|
"hls":"http:\/\/127.0.0.1:8080\/hls\/live.stream.m3u8",
|
||||||
"pid":"\/home\/example\/hls-recorder\/ffmpeg-flock",
|
"pid":"\/home\/example\/hls-recorder\/ffmpeg-flock",
|
||||||
"mail":["info@example.org","dir@example.org"],
|
"mail":["info@example.org","dir@example.org"],
|
||||||
|
"sleep":5,
|
||||||
"loglevel":1
|
"loglevel":1
|
||||||
}
|
}
|
@ -93,6 +93,6 @@ while (true) :
|
|||||||
else
|
else
|
||||||
logger(1, 'API can not be accessed');
|
logger(1, 'API can not be accessed');
|
||||||
|
|
||||||
sleep(5);
|
sleep($_set->sleep);
|
||||||
|
|
||||||
endwhile;
|
endwhile;
|
||||||
|
Loading…
Reference in New Issue
Block a user