chore(queue): support NSQ as backend. (#600)
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
// Stats provide response time, status code count, etc.
|
||||
var Stats = stats.New()
|
||||
var Stats *stats.Stats
|
||||
|
||||
// StatStorage implements the storage interface
|
||||
var StatStorage storage.Storage
|
||||
@@ -78,5 +78,7 @@ func InitAppStatus(conf config.ConfYaml) error {
|
||||
return err
|
||||
}
|
||||
|
||||
Stats = stats.New()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user