Josiah Kaviani

Results 105 comments of Josiah Kaviani

We need to discuss new part of API rather implementation first. I don't think using raw pub/sub redis object is great idea for user experience. We can add high level...

@nvie When we register callbacks in the queue what exactly would happen? On client side queue is just a library to schedule jobs and inspect its result. It doesn't define...

@selwin I absolutely agree with rule "never make a job (or anything else) waiting for another job." With synchronous version of rq it will be totally disaster in the production...

@selwin I don't understand how we can reenter context manager to run its body again and again on each event? Does `for` loop statement suite semantically here? ``` python listener...

@selwin I'm sure there are a lot of use cases where events is proper solution. I just can't figure out those cases myself. Pub/Sub commands have interesting option unlike lists....

@crearc I do need async I/O thats why I'm developing [aiorq](https://github.com/proofit404/aiorq) :) Maybe I was not clear in my previous post. I don't mean delivery lag is a bed thing....

@selwin @nvie I wander if it is possible to use proposed EventListener to stop running job. It maybe useful case for users and first real application for EventListener mechanism.

Worker.work is blocking call. This code creates ten workers sequentially. Wrap work method call into multiprocessing at least.

@shivekkhurana looks correct. I prefer to use for loops to perform actions (like process creation) and list comprehensions for data structures. So for this case I suggest you to use...

I don't think lua script can help here. I define rate limit as an option to worker class. It means don't dequeue from this queue frequently than specified period of...