Skip to content

Commit

Permalink
add sleep 10s in start ustreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
shangbinbin authored and shangbinbin committed Jan 24, 2023
1 parent 8fde9cf commit 5389714
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/ustreamer/kvmd-video.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ do
if [[ "$result" != "" ]]
then
echo "network ok"
sleep 10
break
else
sleep 1
Expand Down
2 changes: 2 additions & 0 deletions package/ustreamer/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# install kvmd ustreamer
## Points to be optimized
When starting ustreamer, you need to start http. If the network card is not successfully started at this time, the binding address will fail, which will lead to the failure of the startup of ustreamer. At present, the strategy is that the startup of ustreamer is delayed for a total of 21 seconds, which is not robust. Everyone has a better solution, welcome to PR.

1、if you use pikvm image, login as root
```
Expand Down
2 changes: 1 addition & 1 deletion src/config/package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version": "1.0.4", "version_int": 104, "md5value": "0989d8e835fe3a8a4b669364811ff470"}
{"version": "1.0.5", "version_int": 105, "md5value": "0989d8e835fe3a8a4b669364811ff470"}

0 comments on commit 5389714

Please sign in to comment.