Skip to content

Commit ccf4d21

Browse files
author
auxten
committed
Use raw expvar.Int for dbcount
1 parent dc94e60 commit ccf4d21

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

worker/dbms.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
"time"
2828

2929
"github.com/pkg/errors"
30-
mw "github.com/zserge/metric"
3130

3231
"github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces"
3332
"github.com/CovenantSQL/CovenantSQL/conf"
@@ -56,7 +55,7 @@ const (
5655
)
5756

5857
var (
59-
dbCount = mw.NewCounter("5m1m")
58+
dbCount = new(expvar.Int)
6059
)
6160

6261
func init() {

0 commit comments

Comments
 (0)