Skip to content

fix: slow connection request creation after 300K requests #1485

@ankita-p17

Description

@ankita-p17

Preliminary Checks

🧪 Steps to Reproduce

After processing over 300,000+ records, we noticed a significant slowdown in the query response time when generating an OOB Issuance and connection invitation.
We noticed that in repository was querying all data and filtering later on. Creating this bug to fix this issue while using on scale.

✅ Expected Behavior

Use API - /credentials/oob/offer
Expected - Returns credential offer

❌ Current Behavior

Current Behaviour - 408 Request Timeout OR 500 Internal Server Error

📌 Affected Version/Commit

No response

💻 Environment

  • Local development
  • Production
  • CI/CD
  • Other

🧾 Relevant Logs, Screenshots, or Stack Traces

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions