Questions tagged [queue]

Use it for the Drupal API that provides a means for storing items into a processing queue.

Filter by
Sorted by
Tagged with
0 votes
0 answers
586 views

After indexing items are not visible, solr server

After indexing the items aren't visible on the page. The index does work, but after refreshing the page, the indexed items aren't shown on the page. View index > Queue all items for reindexing > ...
0 votes
2 answers
973 views

Can emails be sent asynchronously via rules? (Using Queue?)

I have some rules set up to send email notifications for forum messages, comments and articles. Sometimes the number of users that need to receive the email are quite large and the page doesn't ...
0 votes
0 answers
149 views

Implement a Queue in Cron

I am trying to implement a Queue for my cron job, but some how it is not working. Following is the code snippet I have tried, but it is not working. function hook_cron() { watchdog('notice', 'Cron is ...
7 votes
1 answer
242 views

Automated Drupal issue queue workflow

Working in the issue queue on any busy project can be quite a bit of work. Lots of files (patches) to manage, interdiffs, and ideally a branch for piece of work, moving patches forward with rebase ...
1 vote
1 answer
388 views

hook_cron_queue_info doesn't run [closed]

I am using hook_cron in my module to create a queue. The queue will process a couple of non-drupal database tables and synch some data around (a process that can take close to 10 minutes). I'm ...
1 vote
0 answers
708 views

Drupal Queue is not processing with hook cron

All my code is here, the queues are created in backoffice, but the action in the worker call back is never processed. ! I lean the node creation in my function inalco_publications_queue_worker is ...
1 vote
2 answers
501 views

Improve performance by using drush functions instead of Drupal module functions

I am trying to improve the import performance of a drupal website we are working on. The site makes use of the queue api to import individual items. Currently this process is very slow. I have hear ...
2 votes
1 answer
799 views

Queue doesn't enter on worker function with Elysia cron

I'm trying to use queue api with cron, everything seems work but drupal does not enter on the "worker" function. The problem there is only if I enable Elysia Cron (and I've to enable it..) <?php ...
3 votes
2 answers
890 views

Is it possible to create a Nodequeue of Nodequeues?

I have a number of node queues that serve as collections of nodes. I want the user to be able to take those collections (node queues) and add them to a queue, essentially allowing the user to have a ...
0 votes
1 answer
1k views

Removing Queue Table Items / Queue UI Module D7

While attempting to export the mysql database, I found that there was a large number of items in the drupal 7 queue tables "feeds_importer_expire" and "feeds_source_import", both have about 80,000+ ...
0 votes
3 answers
2k views

How to manage / consume multiple Queue API queues in a module?

For a site I'm running, I'm going to have a few different queues for message sending. For example: high priority email, low priority email, high priority twitter, low priority twitter... etc. I have ...
1 vote
1 answer
418 views

Send the email when specific node is created

In one of my module, i have created a checkbox on user account page. If user has checked that checkbox at that time an email is sent to all the user when any specific node is created. Lets say when ...
4 votes
4 answers
566 views

Drupal queue task sequencing

Is there a way to use Drupal Queue API to sequence the execution of tasks, like in a pipeline? My use case is pretty simple: I have a number of tasks executing in the background, doesn't matter their ...
3 votes
0 answers
883 views

My queue table is huge, is it safe to empty it? [duplicate]

I have launched some batch jobs that I didn't finish. Now I notice my queue table is almost 1 GB. Is it safe to empty it?
3 votes
1 answer
761 views

Running triggered rules actions in the background?

I am using triggered rules to set off potentially lengthy actions on nodes, e.g. automatic node translation using Google Translate. Running those actions during the node creation page request slows ...
1 vote
1 answer
222 views

drupal_queues for drupal 6

So this all starts when I hit my php memory limit, I know I can increase my php memory limit... but in order to get the process that I needed running I had to up my limit to 1026M... and I dont think ...
2 votes
1 answer
645 views

What does it mean if an item in Search API has a "-1" flag and is never indexed?

Search API uses flags in the changed column of the search_api_item table to store item-level information relating to indexing. The -1 flag (something to do with queuing items?) appears to be crucial ...
0 votes
2 answers
2k views

Cron queue not working

I'm trying to set up a cron queue, but for some reason, I don't manage to get this done. Here is what I have so far: function mymodule_cron() { // Setup the queue $queue = DrupalQueue::get('...
5 votes
2 answers
348 views

Trade-offs between Job Queue vs. Drupal Queue

Anyone familiar with both Job Queue and Drupal Queue enough to offer an idea of the tradeoffs between the two? In case it makes a difference, the site I'm working on uses Drupal 6. The queue I'll be ...
4 votes
1 answer
3k views

Drupal queue / update module

I have a Drupal 7 site and the queue table has over 4K records. They are primarily for the "update_fetch_tasks" queue. Is the queue table by nature a temporary place holder? I would like to clean it ...

1
2