polarsource / polar

An Open Source Lemon Squeezy alternative with better pricing! Get paid coding on your passion.
https://polar.sh
Apache License 2.0
2.85k stars 117 forks source link

server/worker: fix issues with tasks using the Redis instance #4197

Closed frankie567 closed 1 week ago

frankie567 commented 1 week ago

ARQ instance doesn't decode responses, which causes issues with our logic using Redis, esp. GitHub tokens cache.

Create another dedicated connection pool with decoding enabled to avoid this.

vercel[bot] commented 1 week ago

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

2 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **polar** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar/xAH5wKZZELt6ZuuiWbmvYKPU3Bos)) | [Visit Preview](https://polar-git-fix-worker-redis-polar-sh.vercel.app) | | Oct 16, 2024 7:16am | | **polar-sandbox** | ⬜️ Ignored ([Inspect](https://vercel.com/polar-sh/polar-sandbox/5pdFU4uc6AeTKxMEvqbqn8t28z5U)) | [Visit Preview](https://polar-sandbox-git-fix-worker-redis-polar-sh.vercel.app) | | Oct 16, 2024 7:16am |
github-actions[bot] commented 1 week ago

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

sentry-io[bot] commented 1 week ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎