Skip to content

Remove job_runs.sh (LG-5031)#5506

Merged
zachmargolis merged 8 commits intomainfrom
margolis-remove-job-runs
Oct 28, 2021
Merged

Remove job_runs.sh (LG-5031)#5506
zachmargolis merged 8 commits intomainfrom
margolis-remove-job-runs

Conversation

@zachmargolis
Copy link
Contributor

@zachmargolis zachmargolis commented Oct 14, 2021

We still need to enable cron jobs in prod and let it sit for a few days, so this is a do not merge. But I'm ready!!

Follow-up PRs:

@zachmargolis zachmargolis force-pushed the margolis-remove-job-runs branch 2 times, most recently from d527ebf to b135320 Compare October 14, 2021 23:02
Comment on lines 9 to +14
if defined?(Rails::Console)
Rails.logger.info 'job_configurations: console detected, skipping schedule'
elsif IdentityConfig.store.ruby_workers_cron_enabled
else
# rubocop:disable Metrics/BlockLength
Rails.application.configure do
config.good_job.cron = all_configs.transform_values { |config| config.fetch(:good_job) }
config.good_job.cron = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

recommend viewing diff with ?w=1

@zachmargolis
Copy link
Contributor Author

admin merging because of code coverage issue, there's less code overall now and it's all config

@zachmargolis zachmargolis merged commit b27e1a0 into main Oct 28, 2021
@zachmargolis zachmargolis deleted the margolis-remove-job-runs branch October 28, 2021 23:06
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