Skip to content

Commit 718f7c8

Browse files
author
侯锐
committed
优化日志打印位置
1 parent 9561326 commit 718f7c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dubbo/connection/connections.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,8 @@ def _callback(self, data, conn, data_type, invoke_id):
136136
self._delete_connection(conn)
137137
return 0, 0, 0
138138

139-
logger.info('Data has been received in head with invoke id {}'.format(unpack('!q', data[4:12])[0]))
140-
141139
if data_type == 1:
140+
logger.info('Head has been received in head with invoke id {}'.format(unpack('!q', data[4:12])[0]))
142141
return self._parse_head(data, conn)
143142
elif data_type == 2:
144143
res = Response(data)

0 commit comments

Comments
 (0)