mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
feat:更改日志插入速度
This commit is contained in:
@@ -27,7 +27,8 @@ var (
|
||||
GWAF_RUNTIME_NEW_VERSION string = "" //最新版本号
|
||||
GWAF_RUNTIME_NEW_VERSION_DESC string = "" //最新版本描述
|
||||
|
||||
GWAF_RUNTIME_QPS uint64 = 0 //当前qps
|
||||
GWAF_RUNTIME_QPS uint64 = 0 //当前qps
|
||||
GWAF_RUNTIME_LOG_PROCESS uint64 = 0 //log 处理速度
|
||||
|
||||
/**
|
||||
遥测数据
|
||||
@@ -72,6 +73,9 @@ var (
|
||||
GQEQUE_STATS_UPDATE_DB Dequelib.Deque //统计更新DB队列
|
||||
GQEQUE_MESSAGE_DB Dequelib.Deque //发送消息队列
|
||||
|
||||
/******插入数据最大Batch*****/
|
||||
GDATA_BATCH_INSERT int = 1000 //最大批量插入
|
||||
|
||||
/******WebSocket*********/
|
||||
GWebSocket *model.WebSocketOnline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user