Skip to content

Commit 92d1fef

Browse files
committed
increase timeout too
1 parent 1e905f5 commit 92d1fef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ const pool = new Pool({
2222
const streamClient = new StreamClient({
2323
url: process.env.APIBARA_URL,
2424
token: process.env.APIBARA_AUTH_TOKEN,
25-
timeout: 120_000,
25+
timeout: 300_000,
2626
clientOptions: {
27-
"grpc.max_receive_message_length": 142381042 * 2,
27+
"grpc.max_receive_message_length": 250_000_000,
2828
},
2929
});
3030

0 commit comments

Comments
 (0)