Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyValue.watch inactive_threshold parameter has no effect #583

Open
skewty opened this issue Jul 9, 2024 · 0 comments
Open

KeyValue.watch inactive_threshold parameter has no effect #583

skewty opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
defect Suspected defect such as a bug or regression

Comments

@skewty
Copy link

skewty commented Jul 9, 2024

Observed behavior

Regardless of what positive integer value I use it exits immediately after iterating through historical values.

Expected behavior

It should provide the historical values then wait for inactive_threshold seconds before exiting (a value of 0 should wait forever)

Server and client version

Current

Host environment

No response

Steps to reproduce

async for entry in await kv.watchall(include_history=True, inactive_threshold=2**10):
    ...
@skewty skewty added the defect Suspected defect such as a bug or regression label Jul 9, 2024
@caspervonb caspervonb self-assigned this Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants