diff --git a/PriceSystem/CalcSpeedMonitor.py b/PriceSystem/CalcSpeedMonitor.py index c6561f5..996b309 100644 --- a/PriceSystem/CalcSpeedMonitor.py +++ b/PriceSystem/CalcSpeedMonitor.py @@ -11,9 +11,9 @@ def monitor(pname): client = redis.Redis(connection_pool=redis_pool) while True: pre_counter = client.llen(QUEUE) - time.sleep(1) + time.sleep(60) print(pname + "#####################################:".zfill(100) + str( - pre_counter - client.llen(QUEUE)) + "/s") + pre_counter - client.llen(QUEUE)) + "/min") def format_cmd(cmd):