Skip to content

Commit

Permalink
Restore HardTruncationLimit to 2000
Browse files Browse the repository at this point in the history
  • Loading branch information
pcapriotti committed Aug 1, 2023
1 parent 2516dde commit 0d21b76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/wire-api/src/Wire/API/Team/Member.hs
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,7 @@ instance ToSchema (TeamMember' tag) => ToSchema (TeamMemberList' tag) where
<*> _teamMemberListType
.= fieldWithDocModifier "hasMore" (description ?~ "true if 'members' doesn't contain all team members") schema

-- TODO: Revert this to 2000 before mergin 'mls' to the develop branch
type HardTruncationLimit = (100000 :: Nat)
type HardTruncationLimit = (2000 :: Nat)

hardTruncationLimit :: Integral a => a
hardTruncationLimit = fromIntegral $ natVal (Proxy @HardTruncationLimit)
Expand Down

0 comments on commit 0d21b76

Please sign in to comment.