Skip to content

varz subscriptions count is only for global account #2073

Closed
@ripienaar

Description

@ripienaar

Running 0bdd8f8 I note that the varz subscriptions count is always 1:

$ nats server req varz --user system|jq '{"git": .data.git_commit, "subscriptions": .data.subscriptions}'
{
  "git": "0bdd8f84",
  "subscriptions": 1
}

While from subsz we have correct values:

% nats server req subsz --user system|jq .data.num_subscriptions
3877

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions