Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-userProxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-userProxy
Commits
bdb3166c
Commit
bdb3166c
authored
Aug 18, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:route日志也不要了
parent
cfaf256a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.go
main.go
+3
-3
No files found.
main.go
View file @
bdb3166c
...
@@ -554,9 +554,9 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC
...
@@ -554,9 +554,9 @@ func (s *server) Route(ctx context.Context, in *userCenter.RouteMessage) (*userC
mylogrus
.
MyLog
.
Errorf
(
"Route SYSTEM ACTION PANIC: %v, stack: %v"
,
r
,
string
(
debug
.
Stack
()))
mylogrus
.
MyLog
.
Errorf
(
"Route SYSTEM ACTION PANIC: %v, stack: %v"
,
r
,
string
(
debug
.
Stack
()))
}
}
}()
}()
peerInfo
,
_
:=
peer
.
FromContext
(
ctx
)
//
peerInfo, _ := peer.FromContext(ctx)
mylogrus
.
MyLog
.
Infof
(
"Received Route request from %s: msgType = %d, uid = %d, payload size = %d"
,
//
mylogrus.MyLog.Infof("Received Route request from %s: msgType = %d, uid = %d, payload size = %d",
peerInfo
.
Addr
.
String
(),
in
.
GetMsgType
(),
in
.
GetUid
(),
len
(
in
.
GetPayLoad
()))
//
peerInfo.Addr.String(), in.GetMsgType(), in.GetUid(), len(in.GetPayLoad()))
var
status
uint32
=
common
.
ROUTE_SUCCESS
var
status
uint32
=
common
.
ROUTE_SUCCESS
m
:=
getChans
(
in
.
GetUid
())
m
:=
getChans
(
in
.
GetUid
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment