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

server/worker: reuse arq pool #1031

Merged
merged 2 commits into from
Aug 30, 2023
Merged

server/worker: reuse arq pool #1031

merged 2 commits into from
Aug 30, 2023

Conversation

zegl
Copy link
Contributor

@zegl zegl commented Aug 30, 2023

We've previously relied on the GC to cleanup old arq pool objects and redis connections. With this we're using FastAPI and ARQ lifespans themselves to manage the pool for us.

This updates #873, and should allow us to update the redis library.

We've previously relied on the GC to cleanup old arq pool objects and redis connections. With this we're using FastAPI and ARQ lifespans themselves to manage the pool for us.
@vercel
Copy link

vercel bot commented Aug 30, 2023

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 30, 2023 9:03am
polar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 30, 2023 9:03am

@sentry-io
Copy link

sentry-io bot commented Aug 30, 2023

Suspect Issues

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

  • ‼️ Exception: arq_pool is not initialized polar.integrations.github.endpoints.webhook View Issue

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

@zegl zegl mentioned this pull request Aug 31, 2023
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.

1 participant