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

Fixes #33446 - Allow configuring Pulpcore worker timeout #230

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

wbclark
Copy link
Collaborator

@wbclark wbclark commented Sep 30, 2021

No description provided.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted in the offline chat: I'd keep init.pp small and rather add more instructions to README.md about how to use diffsettings.

spec/acceptance/basic_spec.rb Outdated Show resolved Hide resolved
templates/settings.py.erb Outdated Show resolved Hide resolved
spec/classes/pulpcore_spec.rb Outdated Show resolved Hide resolved
This change implements the WORKER_TTL setting which lets Pulp decide
how long to wait for a worker to respond before considering it gone
and cleaning up it's database and re-assiging work.
@wbclark wbclark force-pushed the 33446-with-original-test-style branch from 826b3e7 to bffd1bd Compare October 4, 2021 19:46
@wbclark
Copy link
Collaborator Author

wbclark commented Oct 4, 2021

@ekohl @evgeni this is now updated with all feedback from this and the other PR... thanks!

@wbclark wbclark force-pushed the 33446-with-original-test-style branch from bffd1bd to 3679d54 Compare October 5, 2021 13:49
@wbclark
Copy link
Collaborator Author

wbclark commented Oct 5, 2021

force pushing to trigger CI

manifests/init.pp Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
spec/classes/pulpcore_spec.rb Show resolved Hide resolved
@wbclark
Copy link
Collaborator Author

wbclark commented Oct 5, 2021

@ekohl thank you for the feedback, I updated with the requested changes.

While the tests passed for me locally, for some reason CI has not run on my recent pushes. Any idea why that is?

@ekohl
Copy link
Member

ekohl commented Oct 6, 2021

When I opened issues I saw:

This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days.

That's kind of weird. I guess they optimize the cronjobs on idle repos (which probably makes sense) but for us it's also the PR testing. I've enabled it now, but I'll take it up with GH.

@ekohl ekohl closed this Oct 6, 2021
@ekohl ekohl reopened this Oct 6, 2021
@wbclark
Copy link
Collaborator Author

wbclark commented Oct 6, 2021

@ekohl thanks! any other feedback on this PR or do you think we are good to go?

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I wanted to wait for CI to run.

@ekohl ekohl merged commit bb9f167 into theforeman:master Oct 7, 2021
@ehelms ehelms added the Enhancement New feature or request label Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Needs testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants