找到settings.py文件,具体在\lib\core\目录下找到
# Maximum number of threads (avoiding connection issues and/or DoS) MAX_NUMBER_OF_THREADS = 10 将MAX_NUMBER_OF_THREADS = 10 修改为MAX_NUMBER_OF_THREADS = 1000
如果服务器有防火墙线程过高可能被服务器秒了,修改适合的线程就可以
时间: 2024-10-29 11:05:59
找到settings.py文件,具体在\lib\core\目录下找到
# Maximum number of threads (avoiding connection issues and/or DoS) MAX_NUMBER_OF_THREADS = 10 将MAX_NUMBER_OF_THREADS = 10 修改为MAX_NUMBER_OF_THREADS = 1000
如果服务器有防火墙线程过高可能被服务器秒了,修改适合的线程就可以