Skip to content

Commit

Permalink
Revert "Debug (#1232)" (#1240)
Browse files Browse the repository at this point in the history
This reverts commit 49a5c9e.
  • Loading branch information
Jayashsatolia403 authored Sep 10, 2023
1 parent 49a5c9e commit ce50f5a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions code/go/0chain.net/blobbercore/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ import (
"github.com/0chain/blobber/code/go/0chain.net/core/common"
"github.com/0chain/blobber/code/go/0chain.net/core/logging"
. "github.com/0chain/blobber/code/go/0chain.net/core/logging"

coreLogging "github.com/0chain/common/core/logging"
)

const (
Expand Down Expand Up @@ -223,9 +221,6 @@ func setupHandlers(r *mux.Router) {
r.HandleFunc("/_config", RateLimitByCommmitRL(common.ToJSONResponse(GetConfig)))
// r.HandleFunc("/_stats", common.AuthenticateAdmin(StatsHandler))
r.HandleFunc("/_stats", RateLimitByCommmitRL(StatsHandler))

r.HandleFunc("/_logs", RateLimitByCommmitRL(coreLogging.LogWriter))

// r.HandleFunc("/_statsJSON", common.AuthenticateAdmin(common.ToJSONResponse(stats.StatsJSONHandler)))
r.HandleFunc("/_statsJSON", RateLimitByCommmitRL(common.ToJSONResponse(stats.StatsJSONHandler)))
// r.HandleFunc("/_cleanupdisk", common.AuthenticateAdmin(common.ToJSONResponse(WithReadOnlyConnection(CleanupDiskHandler))))
Expand Down

0 comments on commit ce50f5a

Please sign in to comment.