pcdshub / pcdshub/hutch-python
Safe Load Timeout
Open
Nobody has claimed this yet.
enhancement
intermediate issue
- Dominant language
- Python
- Stars
- 1
- Forks
- 18
- Avg merge
- 7d 9h
- Merged PRs (30d)
- 1
Description
Expected Behavior
It would be nice if safe_load had an optional argument to enable a timeout.
Current Behavior
No timeout.
Context
Tried to safe load detectors that will never connect. Python just stalled, couldn't even ^C 😞
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 by locating the safe_load implementation or call site in the repository and reproduce the hang with a detector that never connects. Determine how an optional timeout should be exposed and verified; done means safe_load can stop waiting instead of stalling indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100