Skip to content

Update discovery for kdb-x community issue#127

Merged
JamesMassey97 merged 1 commit into
masterfrom
fix-for-kdb-x-community-stp
Jul 15, 2026
Merged

Update discovery for kdb-x community issue#127
JamesMassey97 merged 1 commit into
masterfrom
fix-for-kdb-x-community-stp

Conversation

@JamesMassey97

Copy link
Copy Markdown
Contributor

.Q.lim[] returns a different dictionary in KDB-X community edition than the full edition.

KDB-X:
q).Q.lim[]
cores | 0W
threads| 0W
mem | 0W
conns | 0W

KDB-X Community:
q).Q.lim[]
| cur lim
----- | ---------
cores | 14 0W
threads| 0 4
mem | 64 16384
conns | 0 16

The current index to conns returns a type error as it compares 0W to a dictionary. Indexing into lim is required and the conditional is error trapped for attempting to index into .Q.lim for the full version.

@JamesMassey97 JamesMassey97 requested a review from jonnypress July 2, 2026 13:16
@JamesMassey97 JamesMassey97 merged commit 50fcd5a into master Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants