tiny-pilot / tiny-pilot/tinypilot
uStreamer service restarts are taking 90-120s
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
While @db39 was investigating an unrelated issue, he discovered that running sudo service ustreamer stop or sudo service ustreamer restart takes 90-120s to complete, when I'd expect it to be just a few seconds.
The bug is likely on our side, as we define the service and the wrapper script.
We should figure out what's slowing it down so much.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with debian-pkg/debian/tinypilot.ustreamer.service and debian-pkg/opt/ustreamer-launcher/launch, then reproduce the stop and restart commands described in the issue while measuring where the delay occurs. Done means identifying the source of the 90–120 second wait and reducing service stop or restart time to a few seconds.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100