We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [queue]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
16 views

EVENT_BEFORE_SAVE_ELEMENT Saving element loop in task/queue

I'm calling EVENT_BEFORE_SAVE_ELEMENT to trigger a task that then updates the entry, but it's causing a loop? The event is triggered when a specific entry type is saved: Event::on( Elements::class,...
1
vote
0answers
46 views

Craft queue keeps sticking despite 1GB memory allocation

I keep seeing a Craft 3 site with queue sticking and clearing the cache doesn't clear it. I have been thru plugins fixed some errors and now it all comes down to same issues: PHP Fatal error: ...
1
vote
1answer
43 views

Craft queue not being processed, listen not running

I built a site on a dev server and the Craft queue worked in that with no extra setup needed. In fact I installed Async Queue Manager because Crafts way was too slow. They both worked fine. I moved ...
1
vote
1answer
45 views

When should I run queue/listen instead of queue/run?

Definitions from the documentation: queue/run: runs all the queued-up jobs queue/listen: listens to the queue and runs new jobs Example case: The runQueueAutomatically config option is set to false,...
3
votes
2answers
80 views

How to best design large queue jobs?

I have a plugin that captures data and stores it as an Element, similar to a log. There can be a lot of Elements created so there is also a way to purge those Elements from the DB. In most cases, the ...
0
votes
0answers
23 views

Disabling Imager's 'auto' transform, only returning transforms if they exist

We have a situation where we to use Imager with a very very long cache duration for transforms, but we never want to carry out Imager transforms as the result of front-end activity (Thousands of ...
0
votes
0answers
40 views

Queue “Failed”, with Attempting to save an element in an unsupported site

I have many sites for different countries and languages. They are grouped by language. I have a matrix field setup to "Save sites to other sites in the same site group". We imported all the sites ...
0
votes
0answers
78 views

Huge job queue, hundreds of pending jobs, queue increasing faster than is processed

How do I avoid building up a massive job queue or have them process quicker? I think it even stalled and I used a plugin called Queue Manager to try them again. I have approx. 300 in the queue now, ...
1
vote
1answer
34 views

Craft Queues: Job Event

In Control Panel we can see the progress of a certain job. I would like to hook on events like "DONE" or "FAILED" and do certain things in Control Panel, e.g. reloading the page, or redirecting ...
3
votes
1answer
118 views

How can I get tasks to complete when not logged in to the CP?

I've noticed that tasks only run when logged into the admin panel, is there anyway to avoid this? For some context: I have jobs scheduled on a cron to run every 30 minutes, when I log in it seems ...
2
votes
0answers
104 views

Is the Craft Queue suitable for processing form submissions?

I am looking to queue my form submissions to be processed in the background. I want to be able to only keep user data in the system/database as long as required. This will mean keeping it to debug it ...
1
vote
1answer
87 views

What Might Be Causing This Serialization Error?

Craft Pro 3.0.7Notifications Plugin 1.0.6PHP 7.0 In trying to send notifications for new entries that have a checkbox field, we get this error in the logs: 2018-05-14 09:19:32 [192.168.10.1][1][-...