chore: update roadmap (#1948)

This commit is contained in:
Kevin Wan
2022-06-02 09:28:29 +08:00
committed by GitHub
parent 65098d4737
commit 321a20add6
4 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,6 @@ func SetSlowThreshold(threshold time.Duration) {
func UnaryStatInterceptor(metrics *stat.Metrics) grpc.UnaryServerInterceptor {
return func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo,
handler grpc.UnaryHandler) (resp interface{}, err error) {
startTime := timex.Now()
defer func() {
duration := timex.Since(startTime)