pcdshub / pcdshub/hutch-python

Safe Load Timeout

Open
#209 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.