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

DM-44606: Drop pydantic-settings from worker, add timeout #164

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

rra
Copy link
Member

@rra rra commented Jun 6, 2024

Add a separate, minimal UWSWorkerConfig dataclass containing the information needed to construct the backend worker, and modify the worker initialization so that it no longer needs to load the main vo-cutouts Config and thus doesn't depend on pydantic-settings.

Plumb execution_duration in the UWS configuration through to the arq worker configuration so that we at least impose the maximum execution duration limit on worker execution. Supporting the per-job configuration will require more work.

Add a separate, minimal UWSWorkerConfig dataclass containing the
information needed to construct the backend worker, and modify the
worker initialization so that it no longer needs to load the main
vo-cutouts Config and thus doesn't depend on pydantic-settings.

Plumb execution_duration in the UWS configuration through to the
arq worker configuration so that we at least impose the maximum
execution duration limit on worker execution. Supporting the per-job
configuration will require more work.
@rra rra merged commit 7df1328 into main Jun 6, 2024
3 checks passed
@rra rra deleted the tickets/DM-44606 branch June 6, 2024 20:39
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