Skip to content

Commit 1a68dc5

Browse files
0xJackyweblate
authored andcommitted
refactor: nodes analytics (#847)
* refactor: nodes analytics * feat(debug): add pprof in debug mode * refactor: websocket error handler
1 parent 3be235f commit 1a68dc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/analytic/nodes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@ func GetNodesAnalytic(c *gin.Context) {
6666
}
6767

6868
time.Sleep(10 * time.Second)
69+
logger.Debug("[analytic nodes] sleep 10 seconds")
6970
}
7071
}

0 commit comments

Comments
 (0)