Skip to content

Commit 0588dd1

Browse files
committed
Fixed uptime
Signed-off-by: Vishal Rana <[email protected]>
1 parent af7e9c6 commit 0588dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cube.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (c *Cube) Start(r *http.Request, w http.ResponseWriter) (req *Request) {
150150
Method: r.Method,
151151
UserAgent: r.UserAgent(),
152152
RemoteIP: RealIP(r),
153-
Uptime: time.Now().Unix() - start,
153+
Uptime: time.Now().Unix() - start/1000,
154154
CPUPercent: float32(cpu),
155155
MemoryPercent: mem,
156156
}

0 commit comments

Comments
 (0)