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

Add a PostgreSQL based job server option to replace AMQP #229

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

justinclift
Copy link
Member

@justinclift justinclift commented Dec 11, 2023

It's likely safer for our job queue migration to have the DBHub.io daemons be able to run with either job queue system.

That way if our new job queue code has problems we can revert to using AMQP until the problems are fixed.

With this commit the daemons can run in either AMQP mode or PostgreSQL job queue mode. There's a hard coded boolean value near the top of common/live_amqp.go to switch between them.

The Cypress tests pass in both modes (in my local testing), so things should be ok either way.

It's likely safer for our job queue migration to have the DBHub.io
daemons be able to run with either job queue system.

That way if our new job queue code has problems we can revert to
using AMQP until the problems are fixed.

With this commit the daemons can run in either AMQP mode or job
queue server mode.  There's a hard coded boolean value near the
top of common/live_amqp.go to switch between them.

The Cypress tests pass in both modes, so things should be ok.
common/config.go Dismissed Show resolved Hide resolved
@justinclift justinclift merged commit 4001719 into master Dec 11, 2023
7 checks passed
@justinclift justinclift deleted the pg_job_queue_v3 branch December 11, 2023 09:58
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