Skip to content

Commit

Permalink
fix: increase max message length to 2gb (??)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephancill committed Sep 19, 2024
1 parent 920d9a0 commit 1e35c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/hub-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
import type { HubClient } from './types'

// https://github.com/farcasterxyz/hub-monorepo/commit/fb54ef89bb4731002cf3d7f59c8e52b011e58310
const MAX_RECEIVE_MESSAGE_LENGTH = 1000 * 1024 * 1024 // 1GB (??)
const MAX_RECEIVE_MESSAGE_LENGTH = 1000 * 1024 * 1024 * 2 // 2GB (??)
const defaultOptions = {
'grpc.max_receive_message_length': MAX_RECEIVE_MESSAGE_LENGTH,
}
Expand Down

0 comments on commit 1e35c6b

Please sign in to comment.