Python service uses 100% of CPU on while loop with sleep (inside docker container)

前端 未结 0 1948
無奈伤痛
無奈伤痛 2020-11-28 05:50

I have a python3 code that does something like this:

import asyncio
import time

async def main():
    while True:
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题