Commit a5e70106 authored by Liu lu's avatar Liu lu

异步批日志记录

parent 6c5633a0
......@@ -26,7 +26,7 @@ class LogTraceQueue extends RedisQueueBatchHandler
private function createLogTraceTable()
{
Db::insert("
create table if not exist `trace_logs` (
create table IF NOT EXISTS `trace_logs` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`request_id` varchar(32) NOT NULL COMMENT '一次http或rpc请求调用的唯一key',
`source` varchar(255) NOT NULL COMMENT '来源,包含调用类命名空间及方法',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment