修复日志处理,优化磁盘io,优化退出流程

This commit is contained in:
2026-01-29 12:10:36 +08:00
parent 65115e1a74
commit ee596a654d
10 changed files with 183 additions and 51 deletions

View File

@ -1,13 +1,14 @@
#ifndef SEVERCONFG
#define SEVERCONFG
#define MAX_LOG 256
#define MAX_LOG 64
#define MAX_LOG_LENGTH 4096
#define TEM_MAX_BUF 256
#define TEM_HISTORY_BUF 210
#define TEM_PROMPT "chatbot$$ "
#define NET_MAX_POOL 10
#define NET_MAX_POOL 1
#define NET_MAX_MESSAGE_BUF 1024
#define HTTP_BLOCK_SIZE 512
#define MAX_HTTP_LENGTH 20