Function: setShouldQueuesUseCountCacheOnProject()
function setShouldQueuesUseCountCacheOnProject(
client,
parameters,
options?
): Promise<void>;Defined in: src/serviceDeskServer/api/queueSettings.ts:108
Allows to set whether service project queues should include the issue count on the Queues page for specified project. This is a project level setting, and it's enabled state can be overrided by the global setting. To enable queue count this and the global setting must be true. The default value is always true. The intention of this method is that if you are experiencing performance issues with queue rendering on agent pages, then this setting might be of use to try toggling the queue count on/off. With this enabled, if the global setting is also enabled, queues for project will return the latest cached value (up to a expiry time limit) and schedule a new count to occur in a new thread. That new thread will update the cache value when done, and subsequent update of the queue view, through polling or refresh, will take that as the latest cache value. When no cache value, or it has expired, the queue count will be blank. The queue count will still be specific to the agent viewing the queue, so any view restrictions will remain. This setting is an option to try if would are having some performance issues, but do not want to turn queue count off completely, and are happy with an approximate value.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { body: boolean; projectKey: string; } | - |
parameters.body | boolean | - |
parameters.projectKey? | string | The key of the project. |
options? | RequestOptions | - |
Returns
Promise<void>