yiisoft / yiisoft/queue-db

In function Adapter::subscribe(), there is a hard coded value for timeout for sleep before next iteration.

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3
Forks
4
Avg merge
51m
Merged PRs (30d)
1

Description

What steps will reproduce the problem?

In function Adapter::subscribe(), there is a hard coded value for timeout for sleep before next iteration.

What is the expected result?

Would expect the timeout to be configurable

What do you get instead?

Instead it is hard coded, fixed!

Additional info

Anyone have any ideas how we should implement this, a settings interface maybe???
Suggestions welcome!

Q A
Version master
PHP version 8
Operating system Linux/Windows

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

Locate Adapter::subscribe() and identify the hard-coded timeout used before the next iteration. Review how this adapter currently exposes settings, then determine a configurable interface and its expected default behavior. Done means the timeout is no longer fixed and can be configured without breaking subscription behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.