Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add redis pool #4080

Merged
merged 2 commits into from Nov 29, 2023
Merged

feat: add redis pool #4080

merged 2 commits into from Nov 29, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Nov 29, 2023

What does this PR do?

🤖[deprecated] Generated by Copilot at 111f686

Replaced ioredis with ts-ioredis-pool as the Redis client library in the API app. This improves the performance and resource management of the Redis service by using a pool of connections instead of creating a new client for each request. Refactored all the routes and utils that used createRedisClient to use redisPool instead. Deleted createRedisClient.ts and added redisPool.ts. Updated package.json and pnpm-lock.yaml accordingly.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

🤖[deprecated] Generated by Copilot at 111f686

Emoji

🌊🚀🔥

Copy link

vercel bot commented Nov 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hey-vite 🔄 Building (Inspect) Visit Preview Nov 29, 2023 7:07am
1 Ignored Deployment
Name Status Preview Updated (UTC)
web ⬜️ Ignored (Inspect) Nov 29, 2023 7:07am

Copy link

height bot commented Nov 29, 2023

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@bigint bigint merged commit c142d05 into main Nov 29, 2023
5 of 7 checks passed
@bigint bigint deleted the use-redis-pool branch November 29, 2023 07:07
@vercel vercel bot temporarily deployed to Preview – hey-vite November 29, 2023 07:09 Inactive
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.

None yet

1 participant