yiisoft / yiisoft/yii-debug-api
Implement OS signal handling for event stream
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 17
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/yiisoft/yii-debug-api/blob/23c4bea89ecd8e45038df9f0eab77ca59a4d9033/src/Controller/DebugController.php#L337 (https://github.com/yiisoft/yii-debug-api/pull/117)
Event stream doesn't respect any OS signal, it just takes its time to wait (sleep) and them exits.
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 src/Controller/DebugController.php around line 337 and review pull request #117 for the referenced event-stream behavior. Determine how the stream currently waits and exits, then verify that it responds to an OS signal instead of waiting for the full sleep period.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100