Skip to content

Commit

Permalink
chore: reduce maximum page size for read auth models
Browse files Browse the repository at this point in the history
Limit size to reduce load on database
  • Loading branch information
adriantam committed Dec 6, 2023
1 parent 7ad5c05 commit e75d84e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/openapiv2/apidocs.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ message ReadAuthorizationModelsRequest {
json_name = "page_size",
(validate.rules).int32 = {
gte: 1,
lte: 100
lte: 50
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {example: "50"}
];
Expand Down
2 changes: 1 addition & 1 deletion proto/openfga/v1/openfga_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/openfga/v1/openfga_service.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e75d84e

Please sign in to comment.