Commit a6c07699 authored by Liu lu's avatar Liu lu
Browse files

批处理日志 数量改为36 防止占位符写入过多失败

parent 8b79eb5d
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class LogTraceAspect extends AbstractAspect
    {
        try {
            $object  = Context::get(ServerRequestInterface::class);
            $fd = $object?$object->getSwooleRequest()->fd:$this->produceUniqueId();
            $fd = $object?$object->getSwooleRequest()->fd:Coroutine::id();
            Context::set('log_trace_request_id',$fd);

            $originParams = [
@@ -64,8 +64,4 @@ class LogTraceAspect extends AbstractAspect

    }

    private function produceUniqueId()
    {
       return time().posix_getpid().Coroutine::id();
    }
}
 No newline at end of file