Skip to content

Commit

Permalink
Stern: reduce batch size to 50 when GetNotifications
Browse files Browse the repository at this point in the history
  • Loading branch information
dkovacevic authored Jul 17, 2023
1 parent 0020ed6 commit a601cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/stern/src/Stern/Intra.hs
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ getUserNotifications uid = do
200 -> parseResponse (mkError status502 "bad-upstream") r
404 -> parseResponse (mkError status502 "bad-upstream") r
_ -> throwE (mkError status502 "bad-upstream" "")
batchSize = 100 :: Int
batchSize = 50 :: Int

registerOAuthClient :: OAuthClientConfig -> Handler OAuthClientCredentials
registerOAuthClient conf = do
Expand Down

0 comments on commit a601cef

Please sign in to comment.