Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/settings/default.q
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ enabled:0b // prevent write access to clients if enabled
\d .servers
enabled:1b // whether server tracking is enabled
CONNECTIONS:() // list of connections to make at start up
DISCOVERYCONNECT:$[`lim in key`.Q;$[0W=.Q.lim[][`conns];1b;0b];1b] // check for limit on process connections (relevant for KDB-X community edition)
DISCOVERYCONNECT:$[`lim in key`.Q;@[{$[0W=x[`conns][`lim];1b;0b]};.Q.lim[];1b];1b] // check for limit on process connections (relevant for KDB-X community edition; error-trapped for Community edition where .Q.lim[] may not return expected dict)
DISCOVERYREGISTER:DISCOVERYCONNECT // whether to register with the discovery service
CONNECTIONSFROMDISCOVERY:DISCOVERYREGISTER // whether to get connection details from the discovery service (as opposed to the static file).
TRACKNONTORQPROCESS:1b // whether to track and register non torQ processes
Expand Down
2 changes: 1 addition & 1 deletion config/settings/segmentedchainedtickerplant.q
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ enabled:1b // switch on subscribercutoff

\d .servers
CONNECTIONS,:`segmentedtickerplant
CONNECTIONSFROMDISCOVERY:$[`lim in key`.Q;$[0W=.Q.lim[][`conns];1b;0b];1b] // check for limit on process connections (relevant for KDB-X community edition)
CONNECTIONSFROMDISCOVERY:$[`lim in key`.Q;@[{$[0W=x[`conns];1b;0b]};.Q.lim[];1b];1b] // check for limit on process connections (relevant for KDB-X community edition; error-trapped for Community edition where .Q.lim[] may not return expected dict)