Skip to content

Commit

Permalink
feat: log healthcheck requests
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia authored and gligneul committed Jan 18, 2024
1 parent fee35c2 commit e4d5c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cartesi-rollups-node/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,6 @@ func newHttpService() services.HttpService {
}

func healthcheckHandler(w http.ResponseWriter, r *http.Request) {
config.DebugLogger.Println("received healthcheck request")
w.WriteHeader(http.StatusOK)
}

0 comments on commit e4d5c49

Please sign in to comment.