Skip to content

Conversation

ChaituVR
Copy link
Member

@ChaituVR ChaituVR commented Aug 13, 2025

Summary:

To fix

arget: importkeyspace.-.primary: vttablet: rpc error: code = ResourceExhausted desc = grpc: trying to send message larger than max (69244277 vs. 67108864)

How to test:

Add patch

diff --git a/src/helpers/mysql.ts b/src/helpers/mysql.ts
index 2dfbb64..472169e 100644
--- a/src/helpers/mysql.ts
+++ b/src/helpers/mysql.ts
@@ -19,6 +19,7 @@ hubConfig.connectTimeout = 60e3;
 hubConfig.acquireTimeout = 60e3;
 hubConfig.timeout = 60e3;
 hubConfig.charset = 'utf8mb4';
+hubConfig.ssl = { rejectUnauthorized: true };
 
 const hubDB = mysql.createPool(hubConfig);
 
@@ -48,4 +49,5 @@ export const closeDatabase = (): Promise<void> => {
   });
 };
 
+
 export { hubDB as default, sequencerDB };
  • Run yarn dev
  • It should run without any error

AI Usage

Generated by AI, then modified

@ChaituVR ChaituVR marked this pull request as ready for review August 13, 2025 14:20
@ChaituVR ChaituVR requested review from wa0x6e and bonustrack August 13, 2025 14:21
Copy link
Contributor

@wa0x6e wa0x6e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tAck

@ChaituVR ChaituVR merged commit 9e8f190 into master Aug 13, 2025
2 checks passed
@ChaituVR ChaituVR deleted the fix-add-pagination-to-load-spaces branch August 13, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants