Skip to content

Commit

Permalink
increase timeout too
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Dec 20, 2024
1 parent 1e905f5 commit 92d1fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const pool = new Pool({
const streamClient = new StreamClient({
url: process.env.APIBARA_URL,
token: process.env.APIBARA_AUTH_TOKEN,
timeout: 120_000,
timeout: 300_000,
clientOptions: {
"grpc.max_receive_message_length": 142381042 * 2,
"grpc.max_receive_message_length": 250_000_000,
},
});

Expand Down

0 comments on commit 92d1fef

Please sign in to comment.