瀏覽代碼

Merge branch 'master' into docs-5.1

Marcus Efraimsson 7 年之前
父節點
當前提交
f2c5417ee4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/services/sqlstore/annotation.go

+ 1 - 1
pkg/services/sqlstore/annotation.go

@@ -202,7 +202,7 @@ func (r *SqlAnnotationRepo) Find(query *annotations.ItemQuery) ([]*annotations.I
 	}
 	}
 
 
 	if query.Limit == 0 {
 	if query.Limit == 0 {
-		query.Limit = 10
+		query.Limit = 100
 	}
 	}
 
 
 	sql.WriteString(fmt.Sprintf(" ORDER BY epoch DESC LIMIT %v", query.Limit))
 	sql.WriteString(fmt.Sprintf(" ORDER BY epoch DESC LIMIT %v", query.Limit))