Storage: Set default list limit to 500 (#110356)
This commit is contained in:
@@ -954,7 +954,7 @@ func (s *server) List(ctx context.Context, req *resourcepb.ListRequest) (*resour
|
||||
}
|
||||
|
||||
if req.Limit < 1 {
|
||||
req.Limit = 50 // default max 50 items in a page
|
||||
req.Limit = 500 // default max 500 items in a page
|
||||
}
|
||||
maxPageBytes := s.maxPageSizeBytes
|
||||
pageBytes := 0
|
||||
|
||||
Reference in New Issue
Block a user