-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow up changes for recent fixes: remove len downcasts and ensure all other downcasts are validated #1780
Conversation
6fa4ac0
to
90dab43
Compare
90dab43
to
4c92b09
Compare
internal/services/v1/errors.go
Outdated
) | ||
} | ||
|
||
// NewExceedsMaximumChecksErr creates a new error representing that too many updates were given to a WriteRelationships call. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// NewExceedsMaximumChecksErr creates a new error representing that too many updates were given to a WriteRelationships call. | |
// NewExceedsMaximumChecksErr creates a new error representing that too many updates were given to a CheckPermission call. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -409,14 +410,25 @@ func (es *experimentalServer) BulkExportRelationships( | |||
return nil | |||
} | |||
|
|||
const maxBulkCheckCount = 10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this meant to be 1K?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No; since we didn't previously have a limit at all, I figured we'd set a super high limit for now and then lower it when BulkCheck is moved out of experimental
4c92b09
to
a925bc8
Compare
a925bc8
to
2f533cf
Compare
No description provided.