瀏覽代碼

Increase threashold to 1s

Niko Kovacevic 6 年之前
父節點
當前提交
0ed9e0221f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      costmodel/costmodel.go

+ 1 - 1
costmodel/costmodel.go

@@ -28,7 +28,7 @@ import (
 const (
 	statusAPIError = 422
 
-	profileThreshold = 500 * 1000 * 1000 // 500ms (in ns)
+	profileThreshold = 1000 * 1000 * 1000 // 1s (in ns)
 
 	apiPrefix         = "/api/v1"
 	epAlertManagers   = apiPrefix + "/alertmanagers"