Skip to content

support refreshing serverInfo metadata #1218

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

Closed
skeggse opened this issue Oct 28, 2020 · 1 comment
Closed

support refreshing serverInfo metadata #1218

skeggse opened this issue Oct 28, 2020 · 1 comment
Labels

Comments

@skeggse
Copy link

skeggse commented Oct 28, 2020

I'd like to suggest we add compatibility with NodeRedis w.r.t. the serverInfo object. NodeRedis updates the serverInfo object any time its client issues an INFO command to redis (and receives usable response) - see here. While it may incur extra overhead to do this every time if the resulting object is never read, it would be useful to provide an opt-in mechanism to allow updates to that metadata. In particular, this would allow other libraries that interoperate with NodeRedis to re-use the existing INFO parsing code without having to depend on another external library or embed INFO-parsing code in their internals for one supported library.

See also: bee-queue/arena#219

@luin luin added the feature label Mar 18, 2021
@marcbachmann
Copy link
Collaborator

The serverInfo object got removed in v5.
Application-level code should fetch the object itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants