komuw / wiji

Wiji is an asyncio distributed task processor/queue.
MIT License
4 stars 1 forks source link

Allow broker.dequeue to return None of queue is empty #81

Open komuw opened 5 years ago

komuw commented 5 years ago

https://github.com/komuw/wiji/blob/80a3aafc6d098cc7af7e08d8ebdea7d55cef50b0/wiji/broker.py#L54-L61

If dequeue returns None, wiji should sleep exponetially