I have a Queue processor with delayed processing of 15 secs.
When I am queueing the item, I can see the item queued and scheduled for processing after 15 secs in ADMIN STUDIO
But the processing the item does not starts at the scheduled time and starts much later than that. (Sometimes 30 secs, sometimes more than a minute)
Can anyone help regarding this? Is there a PEGA default delay? Why I am experiencing this type behavior?
***Edited by Moderator Marissa to update Platform Capability tags****
The configuration details of the queue processor are as follows.
Associated with Node Type: Background Processing
When to Process: Delayed [15 secs of initial delay applied at the time of Queue-For-Processing]
Number of Threads Per Node: 1
Max attempts: 6
Initial delay: 1
Delay factor: 0.25 [since I want to retry after every 15 secs]
In this scenario, if I execute then there will be no delay in retries. Why is that ?
Also, if an item is queued and scheduled for a time say 03:04:07, then it should start processing at the mentioned time. But in reality the processing starts suppose 03:05:01. Why is this delay ? I am not able to understand.
@SHAHIR Also have the same problem. Seems like QP "invokes" every minute and process package of tasks. According to pega help https://community.pega.com/knowledgebase/articles/system-administration/84/queue-processing-method :
Date/time processing - This option is available for dedicated queue processors only. A DateTime property by which you specify when a dedicated queue processor resolves the activity. The property represents the time after which an item can be processed.
But i misunderstood: this mean that package of tasks will be processed in time when QP "invoked" or every task should be processed near time specified in Date/Time property
@DmitryS2339 for pushing delayed Queue Processor tasks to process - Pega used pzDelayedQueueProcessorSchedule Job Scheduler which pushes scheduled items for work. So that's why delayed items process at same time with minute interval