We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bade307 commit e4baca4Copy full SHA for e4baca4
code/processes/gateway.q
@@ -535,6 +535,18 @@ addserversfromconnectiontable[.servers.CONNECTIONS]
535
// Join active .gw.servers to .servers.SERVERS table
536
activeservers:{lj[select from .gw.servers where active;`handle xcol `w xkey .servers.SERVERS]}
537
538
+/function to tell orchestrator to scale up
539
+scaleup:{[procname]
540
+handle:first exec w from .servers.SERVERS where proctype=`orchestrator;
541
+neg[handle](`.orch.scaleup;procname);
542
+}
543
+
544
+/function to tell orchestrator to scale down
545
+scaledown:{[procname]
546
547
+neg[handle](`.orch.scaledown;procname);
548
549
550
\d .
551
552
// functions called by end-of-day processes
0 commit comments