hpcc-systems/HPCC-Platform — pull request #6473 by wangkx (2014-09-22 21:37:09+00:00)
Title: HPCC-12311 Remove extra calls to Dali for JobQueues

The existing WsSMC.Activity code retrieves JobQueue info
using the functions inside wujobq and dfuwu. The
createJobQueue() and copyItemsAndState() are used for an
ECL job queue. The queuedJobs() is used for a DFL job queue.
Each of those functions creates a connection to Dali. Since
an HPCC systrem contains multiple job queues, a lot of the
connections are created for one onActivity call. In this fix,
only one connection to Dali is used to get the /JobQueues
tree and the tree has the JobQueue info for all of the job
queues.

Signed-off-by: wangkx