Kaynağa Gözat

refactor: nodes analytics (#847)

* refactor: nodes analytics

* feat(debug): add pprof in debug mode

* refactor: websocket error handler
Jacky 5 ay önce
ebeveyn
işleme
1a68dc526d
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      api/analytic/nodes.go

+ 1 - 0
api/analytic/nodes.go

@@ -66,5 +66,6 @@ func GetNodesAnalytic(c *gin.Context) {
 		}
 
 		time.Sleep(10 * time.Second)
+		logger.Debug("[analytic nodes] sleep 10 seconds")
 	}
 }