-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add worker_functions table and stopped_at column to workers #504
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 worker_functions table and stopped_at column to workers #504
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 3d32459
☁️ Nx Cloud last updated this comment at |
a30c83e to
1004149
Compare
6f48d3f to
b0378fa
Compare
1004149 to
d2e6ef7
Compare
b0378fa to
03ec709
Compare
d2e6ef7 to
b3ec5c2
Compare
c6ddeaf to
be78079
Compare
b3ec5c2 to
44c5035
Compare
be78079 to
e802d13
Compare
44c5035 to
e9163f7
Compare
e9163f7 to
f2d0658
Compare
e802d13 to
4e01611
Compare
f2d0658 to
e315766
Compare
4e01611 to
3fc3ef7
Compare
3fc3ef7 to
3aae55a
Compare
e315766 to
3eab03e
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-504.pgflow.pages.dev 📝 Details:
_Last updated: _ |
3aae55a to
3d32459
Compare
🚀 Production Deployment: Website✅ Successfully deployed to production! 🔗 Production URL: https://pgflow.dev 📝 Details:
Deployed at: 2025-12-08T09:33:24+01:00 |

Add worker_functions table and stopped_at column to workers
This PR introduces a new
worker_functionstable to track which edge functions should be pinged by theensure_workers()cron job. The table includes configuration options like:enabledflag to control whether a function should be pingedheartbeat_timeout_secondsto define when a worker is considered deadAdditionally, adds a
stopped_atcolumn to the existingworkerstable to properly track when workers are stopped.The changes include: