mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Verify Cluster object before calculating long query time stat.
This commit is contained in:
parent
d2fbc0a08f
commit
00e60247f6
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
h.Router.ServeHTTP(w, r)
|
||||
dif := time.Since(t)
|
||||
|
||||
if h.Holder != nil {
|
||||
if h.Holder != nil && h.Cluster != nil {
|
||||
// Handle some stats tagging
|
||||
statsTags := make([]string, 0, 3)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue