queue Questions
2
Solved
3
How do you return an item to a queue.Queue? This would be useful in threading or multiprocessing if the task fails, so that the task can not be lost.
The docs for queue.Queue.get() say that the fu...
Metabolize asked 15/4, 2017 at 4:2
6
I switched to a FIFO queue and I got this error message when I tried to delete a message from the queue
Value {VALUE} for parameter ReceiptHandle is invalid. Reason: The receipt handle has expired...
Lolanthe asked 9/10, 2017 at 7:22
2
Solved
I have a table in AWS Dynamodb and i need send message to AWS SQS when a new item is created.
So i want my Dynamodb to be triggered at that exact moment when created new item, a message for the AW...
Goth asked 4/10, 2018 at 23:34
5
Solved
I'm trying to use Sidekiq to run the below job.
The job performs fine when not queued (perform_now) but fails when called as (perform_later), which uses Sidekiq.
AddEmployeesToRoomJob.perform_no...
Dilate asked 20/8, 2016 at 15:20
1
I've taken over a Laravel 5.2 project where handle() was being called successfully with the sync queue driver.
I need a driver that supports dispatch(..)->delay(..) and have attempted to confi...
6
Solved
If I am using the python module queue.Queue, I want to be able to print out the contents using a method that does not pop the original queue or create a new queue object.
I have tried looking into...
5
Solved
The Situation
I'm using Laravel Queues to process large numbers of media files, an individual job is expected to take minutes (lets just say up to an hour).
I am using Supervisor to run my queue,...
2
Solved
I am having trouble understanding how the deque works in the snippet of code below, while trying to recreate a queue and a stack in Python.
Stack Example - Understood
stack = ["a", "b", "c"]
# p...
12
Solved
I have a job that works flawless locally, but in production I run into issues where it doesn't work. I've encompassed the entire handle() with a try/catch and am not seeing anything logged to Bug...
Appellation asked 31/10, 2018 at 2:11
4
I am using mailgun API to send emails. By mistake I called a function that queued thousands of emails in Mailgun.
Is there a way to Cancel/Clear the queue?
Workroom asked 31/8, 2015 at 10:22
5
Solved
The Situation
I'm using Laravel Queues to process large numbers of media files, an individual job is expected to take minutes (lets just say up to an hour).
I am using Supervisor to run my queue,...
5
I am using npm bull to add my queue job to handle about sending mail for my project. It runs no problems for a long time, but recently, it shows this error:
Error while handling task collect-metric...
3
I had a bunch of jobs in bull queue when one got stuck for 1+ hours (normally takes ~2 minutes to run), but didn't fail. I was unable to remove the job from the active state with the bull arena UI ...
Abiding asked 29/4, 2020 at 14:21
5
Solved
I am willing to send email to list of email address using queue. Without using queue my code is working fine but with queue it's showing following error:
Exception in Queue.php line 86: Serializat...
2
Solved
I know that we can do this to list queue in a rabbitmq:
rabbitmqctl list_queues
but how can I do this via pika?
3
I'm having this problem in python:
I have a queue of URLs that I need to check from time to time
if the queue is filled up, I need to process each item in the queue
Each item in the queue must be...
Knowling asked 21/6, 2013 at 18:7
4
Solved
I need to know when a Queue is closed and wont have more items so I can end the iteration.
I did it by putting a sentinel in the queue:
from Queue import Queue
class IterableQueue(Queue):
_se...
2
I am trying to implement a reliable queue with multiple writers and a multiple readers using postgres database. How to avoid missing rows when a queue reader scans a table then in-progress transact...
Hallie asked 5/10, 2015 at 10:54
6
Laravel 5.4 app. CACHE_DRIVER is set to file and QUEUE_DRIVER is set to sync in .env.
When I run php artisan cache:clear It says Cache cleared successfully yet I still have 236K of files in my sto...
Lawn asked 7/8, 2017 at 21:12
4
Solved
Is it possible to do that in C#?
Queue<string> helperStrings = {"right", "left", "up", "down"};
or do I have to produce an array first for that?
Westley asked 26/10, 2010 at 15:17
2
Solved
Can some one provide minimal example of TAILQ usage out of linux system library with explanation in c which can be compiled using gcc in Linux?
33
Solved
What is the best way to implement a Stack and a Queue in JavaScript?
I'm looking to do the shunting-yard algorithm and I'm going to need these data-structures.
Sestet asked 19/10, 2009 at 18:15
10
Solved
Take the PriorityQueue for example http://java.sun.com/j2se/1.5.0/docs/api/java/util/PriorityQueue.html#offer(E)
Can anyone give me an example of a Queue where the add and offer methods are differ...
6
Solved
I'm learning to use the Queue module, and am a bit confused about how a queue consumer thread can be made to know that the queue is complete. Ideally I'd like to use get() from within the consumer ...
Evildoer asked 31/8, 2010 at 0:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.