diff --git a/PriceSystem/CalcCmdReceiver.py b/PriceSystem/CalcCmdReceiver.py index 90f4bb1..722b11d 100644 --- a/PriceSystem/CalcCmdReceiver.py +++ b/PriceSystem/CalcCmdReceiver.py @@ -18,7 +18,7 @@ def worker(): client = redis.Redis(connection_pool=redis_pool) while True: try: - cmd = client.blpop(QUEUE, 60) + cmd = client.lpop(QUEUE) except Exception as ex: cmd = None print(ex)