@@ -41,6 +41,10 @@ if not os.path.exists(tmpDir):
app = FastAPI()
# 初始化 Redis 连接
# 用redis 限制并发访u
redis_client = redis.Redis(host="localhost", port=6379, db=0)
# 配置日志记录器
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
The note is not visible to the blocked user.