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

Minor fixes for cache manager and processor #6616

Merged
merged 3 commits into from
May 16, 2024
Merged

Minor fixes for cache manager and processor #6616

merged 3 commits into from
May 16, 2024

Conversation

willkg
Copy link
Contributor

@willkg willkg commented May 15, 2024

This fixes some comments, removes some unused things, and tidies up how the processes are launched.

This also renames some of the script files to follow a better convention.

run_service_* is the script that the entrypoint.sh script runs. Each one is a service: webapp, processor, crontabber.

The run_service_processor.sh script runs honcho which runs two processes: run_processor.sh and run_cache_manager.sh.

run_verify_reqs.sh is a utility script like test.sh and lint.sh that we run in CI, so I renamed it to verify_reqs.sh.

This fixes some comments, removes some unused things, and tidies up how
the processes are launched.

This also renames some of the script files to follow a better
convention.

run_service_* is the script that the entrypoint.sh script runs. Each one
is a service: webapp, processor, crontabber.

The run_service_processor.sh script runs honcho which runs two
processes: run_processor.sh and run_cache_manager.sh.

run_verify_reqs.sh is a utility script like test.sh and lint.sh that we
run in CI, so I renamed it to verify_reqs.sh
@willkg willkg requested a review from a team as a code owner May 15, 2024 19:04
willkg and others added 2 commits May 15, 2024 15:08
paul-mclendahand has configuration in pyproject.toml, so we don't need
it in setup.cfg, too.
Copy link
Contributor

@smarnach smarnach left a comment

Choose a reason for hiding this comment

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

Looks good toe me.

I added a commit updating the documentation, which mentions the run scripts in a few places – please take a look.

socorro/processor/cache_manager.py Show resolved Hide resolved
@willkg willkg merged commit cd3ef85 into main May 16, 2024
2 checks passed
@willkg
Copy link
Contributor Author

willkg commented May 16, 2024

Thank you!

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.

2 participants