Skip to content

Commit

Permalink
add cpu and mem check info output
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Jan 15, 2025
1 parent 392fb05 commit 9aba52d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/upload/app/handler4.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func formatBytes(bytes int64) string {
}

func (a *appController) UploadChunks(c *fiber.Ctx) error {
fmt.Println("*********Checking Chunk-relative Mem and CPU***************")
checkMem()
checkCpu()

Expand Down

0 comments on commit 9aba52d

Please sign in to comment.