Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

fix(farcaster): throttle the public signer status route

Gilad Resisif23ebf72c310
diff --git a/apps/backend/src/api/routes/auth.controller.ts b/apps/backend/src/api/routes/auth.controller.ts
index 0a4433216..5c421a210 100644
--- a/apps/backend/src/api/routes/auth.controller.ts
+++ b/apps/backend/src/api/routes/auth.controller.ts
@@ -301,6 +301,9 @@ export class AuthController {
}
}
+ // the modal polls every 2s for up to 10 minutes, so leave room for that
+ @UseGuards(ThrottlerRealIpGuard)
+ @Throttle({ default: { limit: 1000, ttl: 3600000 } })
@Get('/farcaster/signer')
async farcasterSignerStatus(@Query('signerUuid') signerUuid: string) {
try {