mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化rpc定时器
This commit is contained in:
@@ -3,6 +3,7 @@ package rpc
|
||||
import (
|
||||
"reflect"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
||||
type RpcRequest struct {
|
||||
@@ -45,6 +46,7 @@ type Call struct {
|
||||
connid int
|
||||
callback *reflect.Value
|
||||
rpcHandler IRpcHandler
|
||||
calltime time.Time
|
||||
}
|
||||
|
||||
func (slf *Call) Clear(){
|
||||
|
||||
Reference in New Issue
Block a user